Jump to content

oldman

Newbie
  • Posts

    2
  • Joined

  • Last visited

Everything posted by oldman

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=windows-1251"> <title></title> <style type="text/css"> *{margin:0;padding:0;} .main {background:#000000; width:1002px; height:800px; margin:0 auto; } .menu { list-style:none; font-family:Tahoma, Geneva, sans-serif; font-size:18px; border-bottom:2px solid #96682E; overflow:hidden; } .menu li{ width:80px; float:left; padding:10px; margin:3px; text-align:center; } .menu li a{ display:block; width:100%; color:#FFF; text-decoration:none; } </style> </head> <body> <div class="main"> <ul class="menu"> <li><a href="#">новости</a></li> <li><a href="#">биография</a></li> <li><a href="#">embed</a></li> <li><a href="#">audio</a></li> <li><a href="#">video</a></li> <li><a href="#">links</a></li> <li><a href="#">gallery</a></li> <li><a href="#">contacts</a></li> <li><a href="#">top10</a></li> </ul> </div> </body> </html> DIV с классом men убрал, если уж он так нужен, то можете оставить.
  2. min-height:100%; так и будет - высота слоя в зависимости от кол-ва контента... height:100%;
×
×
  • 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