vovchikku Posted February 27, 2010 Report Share Posted February 27, 2010 Нужно протянуть 2-х цветную вертикальную полоску по краю td.content...Решил сделать ее через jpgпрописал в csstd.content { padding: 5px; vertical-align: top; border-left: url(../images/menu_line.jpg);} Но она не отображается.Помогите решить задачу.... Quote Link to comment Share on other sites More sharing options...
0 s0rr0w Posted February 27, 2010 Report Share Posted February 27, 2010 Нужно протянуть 2-х цветную вертикальную полоску по краю td.content...Решил сделать ее через jpgпрописал в csstd.content { padding: 5px; vertical-align: top; border-left: url(../images/menu_line.jpg);} Но она не отображается.Помогите решить задачу....Еще не приняли спецификацию, которая позволяла бы бордюры картинками рисовать.Поэтому используйте background-image Quote Link to comment Share on other sites More sharing options...
0 Int Posted February 27, 2010 Report Share Posted February 27, 2010 (edited) Может просто boder-left и снаружи ещё div с border-left?Хотя да, проще сделать фоновую картинку, повторяющуюся по вертикали. Edited February 27, 2010 by Int Quote Link to comment Share on other sites More sharing options...
0 vovchikku Posted February 28, 2010 Author Report Share Posted February 28, 2010 Может просто boder-left и снаружи ещё div с border-left?Хотя да, проще сделать фоновую картинку, повторяющуюся по вертикали.ок, спасибо, а как сделать разделительную линию после contentpaneopen?ну то есть после каждого материала чтобы линия была... Quote Link to comment Share on other sites More sharing options...
0 shvv Posted February 28, 2010 Report Share Posted February 28, 2010 ок, спасибо, а как сделать разделительную линию после contentpaneopen?ну то есть после каждого материала чтобы линия была...Или фоном, повторяющимся по горизонтали, или тегом <hr>. Quote Link to comment Share on other sites More sharing options...
0 vovchikku Posted March 2, 2010 Author Report Share Posted March 2, 2010 (edited) а как в контексте CSS это будет выглядеть? Edited March 2, 2010 by vovchikku Quote Link to comment Share on other sites More sharing options...
0 Int Posted March 2, 2010 Report Share Posted March 2, 2010 Ну что-то типаbackground-repeat:repeat-x;background-position: left bottom;Для каждого блока с материалом Quote Link to comment Share on other sites More sharing options...
0 vovchikku Posted March 2, 2010 Author Report Share Posted March 2, 2010 Не понял, так чтоли?contentpaneopen {padding: 5px;vertical-align: top;background: url(../images/menu_line.jpg)background-repeat:repeat-x;background-position: left bottom;} Quote Link to comment Share on other sites More sharing options...
0 Int Posted March 2, 2010 Report Share Posted March 2, 2010 возможно Quote Link to comment Share on other sites More sharing options...
Question
vovchikku
Нужно протянуть 2-х цветную вертикальную полоску по краю td.content...
Решил сделать ее через jpg
прописал в css
td.content {
padding: 5px;
vertical-align: top;
border-left: url(../images/menu_line.jpg);
}
Но она не отображается.
Помогите решить задачу....
Link to comment
Share on other sites
8 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.