CityofGI
asked on
What does IE Compatibility Mode change?
I am working on some very simple CSS/HTML, but I am having some trouble understanding whats going on.
Take a look at this page, the coloring is for testing only.
http://gihelpdesk.com/tut/gihd/tutorials.php
The red and blue div's should be (are) nested in the tbody div. I should be able to float one left and one right and they should be horizontally aligned and pushed to either side of the tbody div.
This ONLY works in IE with Compatibility Mode enabled. I could absolutely position the divs in the tbody div, but I really want to know why the float is not working and what IE is changing to make it work.
Thanks
Take a look at this page, the coloring is for testing only.
http://gihelpdesk.com/tut/gihd/tutorials.php
The red and blue div's should be (are) nested in the tbody div. I should be able to float one left and one right and they should be horizontally aligned and pushed to either side of the tbody div.
This ONLY works in IE with Compatibility Mode enabled. I could absolutely position the divs in the tbody div, but I really want to know why the float is not working and what IE is changing to make it work.
Thanks
<div class="tbody">
<h1>What can we help you with?</h1>
<div class="lcol"><h1>TUT PICS</h1></div>
<div class="rcol"> <h1>Tutorial description with link</h1></div>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Floated content has no height and things were probably getting confused as a result. google the CSS hasLayout fix for more info.
ASKER
Open in new window