IE6 why?
Posted: Thu Nov 08, 2007 1:02 am
Hey, why is it that when when I write:
in IE6 and lower, not IE7, nor firefox, etc, I get fifteen pixels height in both divs?
Copy and paste the code into this and you'd see what I mean.
I thought that maybe if I know why this is happening then I could fix come up with a solution.
Thanks for reading, guys. I'd so much appreciate a simple answer.
Code: Select all
<div style="height: 10px; background: red;">
<div style="height: 10px; background: blue; float: right; width: 10px;"></div>
</div>
Copy and paste the code into this and you'd see what I mean.
I thought that maybe if I know why this is happening then I could fix come up with a solution.
Thanks for reading, guys. I'd so much appreciate a simple answer.