Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>if you can leave ie6 support out, which you should.. then this will work:</p> <pre><code>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"&gt; &lt;html&gt; &lt;head&gt; &lt;title&gt;&lt;/title&gt; &lt;style&gt; /* CSS Document */ * { margin:0; padding:0; } html { height:100%; width:100%; } .wrapper { min-height:100%; height:auto !important; margin:0 auto -26px; background:#e9e9e9; } body{ font: normal 12px/16px Arial, Verdana, Helvetica, sans-serif; height: 100%; min-width:1024px; width:100%; border: 0px; background-color:#CFCFCF; } #headerMain{ width:100%; background:url(img/header_bg.png) 0 0 repeat-x; color:#D2C7A3; } #header{ width:100%; background:url(img/header_bg_top.png) 0 0 repeat-x; margin:0; height:153px; } .headerLogoLeft { height:84px; width:34%; float:left; text-align:left; } .headerLogoLeft img { height:72px; width:72px; display:inline; padding-top:5px; } .headerLogoCenter { height:84px; width:66%; float:left; text-align:left; } .headerLogoCenter img { height:84px; width:550px; display:inline; } #nav { width:100%; height:33px; color: #9E9E9E; line-height:33px; font-size:13px; position:relative; } #navleft { height:33px; float:left; width:200px; text-align:left; position:absolute; left:0; top:0; z-index:20; background:lightgreen; } #navcenter { height:33px; line-height:33px; text-align:center; position:absolute; left:0;right:0;top:0; padding-left:200px; padding-right:200px; z-index:10; background:yellow; } #navright { height:33px; width:200px; text-align:right; position:absolute; right:0;top:0; z-index:20; background:lightblue; } &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;div class="wrapper"&gt; &lt;div id="headerMain"&gt; &lt;div id="header"&gt; &lt;div class="headerLogoLeft"&gt;&lt;/div&gt; &lt;div class="headerLogoCenter"&gt;&lt;/div&gt; &lt;div id="nav"&gt; &lt;div id="navleft"&gt;navleft&lt;/div&gt; &lt;div id="navcenter"&gt;center&lt;/div&gt; &lt;div id="navright"&gt;navright&lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload