Jump to content

klierik

Administrator
  • Posts

    5,038
  • Joined

  • Last visited

  • Days Won

    125

Everything posted by klierik

  1. Вот Вам почва для размышлений: <!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>Untitled Document</title> <style type="text/css"> /* ########################################################################### ######################### [1. Page configuration] ########################################################################### ######################### —————————————————————————————————- [1.1 Defaults Tags options] —————————————————————————————————- */ * html { font-size:100%; } /* for IE */ body { font-family: Arial, Helvetica, sans-serif; font-size: 0.625em; /* default page font size is 10px (1em) */ min-width: 100.8em; /* Default scroll width is 16px, so 1024-16 is 1008px */ position:relative; border:1px solid #f0f; } * { margin: 0; padding: 0; outline: none; } ul { list-style-type: none;} img { border: none; } table { border-collapse: collapse; } /* HEADER */ div.hdr { background-color:#333; height:10.0em; } div.hdr p { text-align:center; font-size:1.6em; color:#fff; } /* Extended */ div.ext { position:absolute; left:50%; top:25%; width:24.0em; height:6.0em; background-color:#9C6; } /* Content container */ div.data { overflow:hidden; _zoom: 1; } /* side bar */ div.sb { float:left; width: 25.0em; background-color:#3ff; _margin-right:-25.0em; } /* content */ div.content { margin-left:25.0em; background-color:#fcfcfc; } </style> </head> <body> <!-- header --> <div class="hdr"> <p>Header</p> </div> <!-- extended --> <div class="ext"></div> <!-- data container --> <div class="data"> <!-- side bar --> <div class="sb"> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.</p> </div> <!-- content --> <div class="content"> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.<br /> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.<br /> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.<br /> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.<br /> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.<br /></p> </div> </div> </body> </html>
  2. я бы Вам показал в виде кода, если б Вы предоставили свою страничку
  3. я говорил о том что б повесить флоат не на <A> а на <LI> вообще зачем там вешать флоат на <A>???? почитайте как работает это свойство
  4. автор, поместите код в соответствующий тег, пожалуйста. покажите схематично какой макет Вам нужен.
  5. Здравствуйте, для начала покажите какое именно меню Вы хотите получить.
  6. 1. используйте отрицательный маржин слева, ширина которого равна ширине блока. 2. что такое "Счетчики" ???
  7. у меня ми в ФФ3 баги. на элементы меню повесте float: left; а на сам список: overflow: hidden; ps: может будут глюки в ИЕ6, за сим повесте на список _height: 1%;
  8. Значение которое включает свойство layout для элемента, к которому оно применено.
  9. +1 сам афигел от такого )))))
  10. если в макете Вами замечены баги, то давайте для начала будем решать в чем их проблема, а уж после говорить о верстке в целом. Задавайте конкретные вопросы и получите ответы (:
  11. klierik

    нужен код

    Господа, не флудите, пожалуйста. (:
  12. Уважаемые жители и гости сего форума. Хочу поздравить Вас с наступающим праздником - Новый Год. Желаю что бы будущий год принес Вам максимум знаний и умений. А так же счастья, веселья, улыбок, тепла и любви. С Новым Годом!
  13. <head> <link href="css/styles.css" rel="stylesheet" media="all" /> <!--[if IE 6]><link href="css/ie6.css" rel="stylesheet" media="all" /><![endif]--> </head>
  14. Доктайп к примеру <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> оба способа рабочие.
  15. src: http://www.webmakerslounge.com/css/ie6-min-max-width/ #someblock{ width:expression(((document.documentElement.clientWidth ||? document.body.clientWidth) < 990) ? '990px' : ? ((document.body.clientWidth > 1280) ? '1280px' : '100%')); } а еще от себя рекомендую покурить это дело: http://code.google.com/p/ie7-js/
  16. если это на обсуждение, то в соответствующий раздел надо б перенести. тут не место для обсуждений, хотя наглядно, имхо, есть пару нареканий
  17. klierik

    jquery

    2EGORR, крайне спасибо за сылочки
  18. а где решение то?
  19. поместите, пожалуйста, код в соответствующие теги на таблицу повесте класс со свойтвом font-size: 0; и рекомендую почитать про CSS
  20. klierik

    owerflow

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1251"> <title>test</title> <style type="text/css"> #qqq { border: 1px solid #000000; width: 150px; height: 100px; overflow: hidden; _position:relative /* for ie6 */ } #aaa div { display: block; border: 1px solid #ff0000; margin: 5px; } #aaa { border: 0; position: relative; } </style> </head> <body> <div id="qqq" align="center"> <div id="aaa"> <div>111</div> <div>222</div> <div>333</div> <div>444</div> <div>555</div> <div>666</div> <div>777</div> <div>888</div> <div>999</div> </div> </div> </body> </html>
  21. надо видеть что именно Вам надо
  22. автор, поместите код в соответствующие теги
  23. 2user а что растянуть и по-горизонтали/вертикали?
×
×
  • 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