Ещё столкнулся с тем, что задавая в #menu.secondmenu ul ul li{border-bottom:1px dotted #000} - цвет почему то белый. Хотя для solid, все цвета меняются.
Заранее спасибо.
Edited by rus сверху окна сообщения есть bb теги форума - оформляйте код с их помощью!
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.
Актуальные контакты:
Telegram: @Nikker_web
E-Mail: tarasevich.email@gmail.com
Портфолио https://www.behance.net/d4d4186e
Разрабатываю дизайн групп в соц сетях, сайтов, приложений, другой дизайн под заказ
Актуальные контакты:
Telegram: @Nikker_web
E-Mail: tarasevich.email@gmail.com
Разрабатываю дизайн групп в соц сетях, сайтов, приложений, другой дизайн под заказ
Портфолио https://www.behance.net/d4d4186e
Question
fa_t
Собственно в этом то и проблема, не знаю как задать границу. Подскажите пожалуйста.
Вот код CSS
@charset "utf-8";/* CSS Document */*{padding:0; margin:0;}body{background:#e3e3e3 url(../images/bg-body.jpg) center 29px no-repeat; }#wrapper{width:1346px; margin:0 auto; }#header{height:199px; } #menu { background: #575757;border-top: 1px solid #000000; border-bottom: 1px solid #000000; } #menu ul { font: bold 13px Verdana; display:inline-table; position: relative; } #menu li { float: left; list-style: none; width: 140px; text-align: center; border-right:1px dotted #000; } #menu li a { text-decoration: none; display:block; color: #fff; background: #575757; padding: 5px; } #menu li a:hover { color: #575757; background: #c0c0c0; } .hallo h2{ text-align:center; padding-top:15px; font: 16px "Arial"; color: white; } .hallo h2 span{color:#514c35;font-weight:bold; } .logo{padding: 40px 0 0px 1135px; } .logo img {opacity:0.8;-moz-opacity:0.8;filter: alpha(opacity=80) black;-khtml-opacity: 0.8;}.logo img:hover {opacity:1;-moz-opacity:1;filter: alpha(opacity=100) black;-khtml-opacity: 1;}#menu.secondmenu{background: #3D647F;border-top: 1px solid #000000; border-bottom: 1px solid #000000; }#menu.secondmenu li a { text-decoration: none; display:; color:; background: #3D647F; padding: 5px; }#menu.secondmenu li a:hover {color: #575757;background: #c0c0c0;}#menu ul ul {display: none;position: absolute;top: 100%;}#menu.secondmenu ul ul li {float: none;position: relative;border-right:1px solid #000;border-left:1px solid #000;border-bottom:1px solid #000;}#menu ul ul ul {position: absolute;top: 0;left: 100%;}#menu ul li:hover > ul {display: block;}сверху окна сообщения есть bb теги форума - оформляйте код с их помощью!
Link to comment
Share on other sites
3 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.