Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 05/19/11 in all areas

  1. Да я сам такое делал только с джсом. Чё, сдаёшься лошара? Макс, давай без таких слов. Не со мной. Блин, я думал ты понимаешь юмор Тогда вот решение: Всё таки одноразовый экспрешан, это не тоже самое, что жс <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1251" /> <title>Новый Документ</title> <meta name="title" content="" /> <meta name="keywords" content="" /> <meta name="description" content="" /> <script type="text/javascript" src="fixie.js"></script> <style type="text/css"> #nav { display:block; list-style:none; font:bold 13px/30px Verdana, Arial, Helvetica, sans-serif; } #nav ul{ position:absolute; top:30px; list-style:none; left: 0; margin: 0; padding: 0; background: silver; border: 1px solid #000; } #nav li { background: orange; float:left; position:relative; margin:0 1px; border: 1px solid #000; } #nav li a { display:block; float:left; color:#000; text-decoration:none; } #nav li:hover ul{display:block; } #nav li ul{ padding:0; } #nav li ul li { background: #cdecda; height:30px; line-height: 30px; white-space: nowrap; width: 100%; } #nav li ul li a { float:none; background: blue; display: block; } </style> <!--[if IE]> <style type='text/css'> #nav {display:block; list-style:none; font:bold 13px/30px Verdana, Arial, Helvetica, sans-serif;} #nav ul{position:absolute; top:30px; list-style:none; left: 0; background: blue;} #nav li { background: red; float:left; position:relative; margin:0 1px; } #nav li a {display:block; float:left; color:#000; text-decoration:none; } #nav li:hover ul{display:block;} #nav li ul li { background: blue; height:30px; line-height:30px; white-space: nowrap; } #nav li ul li { background-image:expression( this.runtimeStyle.backgroundImage = "none", //this.style.width = this.parentNode.offsetWidth + 'px', this.li = this.parentNode.getElementsByTagName('li'), this.a = 0, this.func = function(e){ for(var i = 0; i < e.li.length; i++){ if(e.a < e.li[i].offsetWidth){e.a = e.li[i].offsetWidth} e.style.width = e.a + 'px' } if(e.parentNode.getElementsByTagName('li')[e.parentNode.getElementsByTagName('li').length-1] == e){ for(var i = 0; i < e.li.length; i++){ e.li[i].style.width = e.a + 'px' } } }, this.func(this) ); } #nav li ul li a {float:none; background: blue; display: block;} </style> <![endif]--> </head> <body> <ul id="nav"> <li><a href="#">Главная</a></li> <li><a href="#">Секреты</a></li> <li><a href="#">Скачать</a></li> <li><a href="#">Новости</a></li> <li><a href="#">F.A.Q.</a></li> <li><a href="#">Оплата</a></li> <li><a href="#">Реклама</a> <ul> <li class="one"><a href="#">Выпадающий пункт мен</a></li> <li class="two"><a href="#">Выпадающий</a></li> <li class="three"><a href="#">Выпадающий пункт мен</a></li> <li class="four"><a href="#">Выпадающий пункт мен</a></li> </ul> </li> <li><a href="#">Ссылки</a></li> </ul> </body> </html>
    1 point
  2. Может быть так попробуете, каркас: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Документ без названия</title> <style> h3 { font-size: 16px; font-weight: normal; } span.sale { float: left; } </style> </head> <body> <div style="width: 130px; float: left;"> <h3>Чай китайский белый</h3> <div style="border: 1px solid black; width: 118px; height: 118px;">image</div> <form action=""> <span class="sale">93 грн</span> <select> <option>100 гр.</option> <option>200 гр.</option> <option>300 гр.</option> </select> <input type="submit" value="Заказать" /> </form> </div> </body> </html>
    1 point
  3. Настройки серверов идентичные? AllowOverride включен?
    1 point
  4. Редактирую обычным txt редактором. Специальный формат для хтаксеса это как? вроде гуглил и ничего такого про спец. формат не говориться Я вопросы не так просто задал, ради того чтоб поддержать беседу. Я не знаю что вы называете «обычный txt редактор» И я не говорил про специальный формат для .htaccess, я говорил про текстовый формат unix-файлов
    1 point
  5. document.getElementById('input').onclick=function() {if (this.value=='Поиск...') this.value='';}чё-нибудь такое наверное
    1 point
This leaderboard is set to Kiev/GMT+03:00
  • Upcoming Events

    No upcoming events found
  • Сообщения форума

    • Актуальные контакты: 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
    • Доброго всем времени суток. Прошу помощи. Научите принципу изменения футера. Движок Xenforo. Версия 2.2.10. Стиль дефолтный. Что именно нужно в итоге на фото примере. Мой шаблон app.footer less имеет следующее значение.  .p-footer { .xf-publicFooter(); a { .xf-publicFooterLink(); } } .p-footer-inner { .m-pageWidth(); .m-pageInset(); padding-top: @xf-paddingMedium; padding-bottom: @xf-paddingLarge; } .p-footer-row { .m-clearFix(); margin-bottom: -@xf-paddingLarge; } .p-footer-row-main { float: left; margin-bottom: @xf-paddingLarge; } .p-footer-row-opposite { float: right; margin-bottom: @xf-paddingLarge; } .p-footer-linkList { .m-listPlain(); .m-clearFix(); > li { float: left; margin-right: .5em; &:last-child { margin-right: 0; } a { padding: 2px 4px; border-radius: @xf-borderRadiusSmall; &:hover { text-decoration: none; background-color: fade(@xf-publicFooterLink--color, 10%); } } } } .p-footer-rssLink { > span { position: relative; top: -1px; display: inline-block; width: 1.44em; height: 1.44em; line-height: 1.44em; text-align: center; font-size: .8em; background-color: #4682B4; border-radius: 2px; } .fa-rss { color: white; } } .p-footer-copyright { margin-top: @xf-elementSpacer; text-align: center; font-size: @xf-fontSizeSmallest; } .p-footer-debug { margin-top: @xf-paddingLarge; text-align: right; font-size: @xf-fontSizeSmallest; .pairs > dt { color: inherit; } } @media (max-width: @xf-responsiveMedium) { .p-footer-row-main, .p-footer-row-opposite { float: none; } .p-footer-copyright { text-align: left; padding: 0 4px; // aligns with other links } }  
    • Нужны сайты с примерами верстки, типа https://css-tricks.com/. Типовые приемы и нестандартные на все случаи жизни. Накидайте ссылок.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy