Advertisement
CyberPascal

Untitled

May 2nd, 2014
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.18 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3.  <head>
  4.   <meta http-equiv="Content-Type" content="text/html; charset=ср1251" />
  5.   <title>Макет 1</title>
  6.   <style type="text/css">
  7.     #wrapper {  
  8.     width: 100%;  
  9.     width: expression((documentElement.clientWidth||document.body.clientWidth)<995?'1000px':'');  
  10.     min-width: 1000px;  
  11.     }  
  12.  
  13.     #container {width: 100%;}  
  14.  
  15.     #content {  
  16.     width: 100%;  
  17.     float: left;  
  18.     }  
  19.  
  20.     #text {margin: 0 250px;}  
  21.  
  22.     #left {  
  23.     float: left;  
  24.     width: 250px;  
  25.     margin-left: -100%;  
  26.     }  
  27.  
  28.     #right {  
  29.     float: left;  
  30.     width: 250px;  
  31.     margin-left: -250px;  
  32.     }
  33.  </style>
  34.  </head>
  35.  
  36.  <body>
  37.   <div id="wrapper">  
  38.  
  39.     <div id="header">Шапка</div>  
  40.  
  41.     <div id="container">  
  42.  
  43.         <div id="content">  
  44.             <div id="text">Центральная колонка</div>  
  45.         </div>  
  46.  
  47.     <div id="left">Левая колонка</div>  
  48.  
  49.     <div id="right">Правая колонка</div>  
  50.  
  51.     <div class="clear"></div>  
  52.     </div>  
  53.  
  54.     <div id="footer">Подвал</div>  
  55.  
  56.  </div>
  57.  </body>
  58. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement