Note that there are some explanatory texts on larger screens.

plurals
  1. POIE7 compatibility error with div container with 4 divs inside
    primarykey
    data
    text
    <p>Basically this is my issue, I have a container with 4 divs inside, in firefox it works just fine and also in IE8 but ..it shows the compatibility view all the time, if I click on it, it moves the 4 divs out of the container, making the site looks terrible. btw, the 4 divs are just behind the menu but on another "content" div. (I need it that way...)</p> <p>This is my code.</p> <pre><code>&lt;style type="text/css"&gt; body{ margin-top:2px; } #main_frame{ width:1024px; height:550px; position:relative; margin:0 auto; padding:0px; float:center; text-align:center; background:black; } #logo{ width:275px; height:75px; background-image:url(images/logo.png); background-repeat:no-repeat; position:relative; margin:0 auto; padding:0px; float:left; } #top_center{ width:474px; height:75px; position: relative; top:0px; margin:0 auto; padding:0px; background-color:green; float:left; filter:alpha(opacity=50); -moz-opacity:0.5; -khtml-opacity: 0.5; opacity: 0.5; } #top_right{ width:275px; height:75px; position: relative; top:0px; margin:0 auto; padding:0px; background-color:red; float:left; } #main_menu{ width:1024px; height:25px; float:none; position:relative; float:left; margin:0 auto; padding:0px; background-color: #FF0; } #content_frame{ height:400px; width:1024px; position:relative; float:left; margin:0 auto; padding:0px; } /* HERE THEY ARE */ #tag1{ height:375px; width:256px; position: absolute; float:left; margin:0 auto; padding:0px; background-color:#900; } #tag2{ height:375px; width:256px; position:absolute; float:left; margin-left:256px; padding:0px; background-color: #930; } #tag3{ height:375px; width:256px; position:absolute; float:left; margin-left:512px; padding:0px; background-color: #960; } #tag4{ height:375px; width:256px; display: inherit; position:absolute; float:left; margin-left:768px; padding:0px; background-color:#990; } &lt;/style&gt; </code></pre> <p>... some code removed...</p> <pre><code>&lt;body&gt; &lt;div id="main_frame"&gt; &lt;div id="tag1"&gt;&lt;/div&gt; &lt;div id="tag2"&gt;&lt;/div&gt; &lt;div id="tag3"&gt;&lt;/div&gt; &lt;div id="tag4"&gt;&lt;/div&gt; &lt;div id="logo"&gt;&lt;/div&gt; &lt;div id="top_center"&gt;&lt;/div&gt; &lt;div id="top_right"&gt;&lt;/div&gt; &lt;div id="main_menu"&gt;&lt;/div&gt; &lt;div id="content_frame"&gt; </code></pre> <p>Any help on this is greatly appreciated.</p> <p>Thanks guys,</p> <p>Marco,</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

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