Помощник
Здравствуйте, гость ( Вход | Регистрация )
|
![]() |
![]() |
![]()
Сообщение
#12
|
![]() |
Попробуй так:
<style type="text/css">
ul {margin: 0; padding: 0; list-style: none; width: 180px;} ul li {position: relative;} li ul {position: absolute; right: 179px; top: 0; display: none;} ul li a {display: block; text-decoration: none; color: #777; background: #fff; padding: 5px; border: 1px solid #ccc; border-bottom: 0;} /* Fix IE. Hide from IE Mac \*/ * html ul li { float: left; } * html ul li a { height: 1%; } /* End */ ul {margin: 0; padding: 0; margin-left:200px; list-style: none; width: 180px; border-bottom: 1px solid #ccc;} li:hover ul {display: block;} li:hover ul, li.over ul {display: block;} /* Fix IE. Hide from IE Mac \*/ * html ul li { float: left; height: 1%; } * html ul li a { height: 1%; } /* End */ </style> <script type="text/javascript"> startList = function() { if (document.all&&document.getElementById) { navRoot = document.getElementById("nav"); for (i=0; i<navRoot.childNodes.length; i++) { node = navRoot.childNodes[i]; if (node.nodeName=="LI") { node.onmouseover=function() { this.className+=" over"; } node.onmouseout=function() { this.className=this.className.replace (" over", ""); } } } } } window.onload=startList; </script> <ul id="nav"> <li><a href="#">Альтернативный адреc</a> <ul> <li><a href="http://vinrarus.ucoz.net/" target="blanc">http://vinrarus.ucoz.net</a></li> <li><a href="http://vinrarus.ucoz.com/" target="blanc">http://vinrarus.ucoz.com</a></li> <li><a href="http://vinrarus.at.ua/" target="blanc">http://vinrarus.at.ua</a></li> <li><a href="http://vinrarus.narod.ru/" target="blanc">http://vinrarus.narod.ru</a></li> </ul> </li> </ul> |
|
|
![]() |
Сообщение
#13
|
|
![]() |
Правда я уже и сам сообразил left на right поменять, но всеравно пасиба.:)
|
|
|
||
|
Похожие темы
Тема | Ответов | Автор | Просмотров | Последний ответ | |
---|---|---|---|---|---|
![]() |
![]() |
19 | Serapion | 579 | 25.2.2021, 8:34 автор: PostBrigada |
![]() |
Ваши статьи с ссылками на трастовых новостных площадках (СМИ) UA, RU, BY, KZ, AZ, KG | 16 | zabignik | 2668 | 11.2.2021, 14:53 автор: zabignik |
![]() |
Google добавил в результаты выдачи меню с дополнительной информацией об источнике | 1 | VinogradOFF | 480 | 3.2.2021, 14:45 автор: LigaGiga |
![]() |
Google AdSense прекращает поддержку блоков со ссылками | 7 | MorKer | 926 | 14.12.2020, 0:30 автор: prolisk |
![]() |
Помогите рещить проблему с монитором. Почему низкое разрешение при подключении монитора через displayport? |
0 | Levels | 416 | 11.12.2020, 0:48 автор: Levels |
![]() |
Текстовая версия | Сейчас: 3.3.2021, 19:45 |