in IE 6, it looks like this: http://saheran.persiangig.com/ie6-screenshot.jpg well, in FF it looks nice. Why in IE the floated element shows out of the header?
Thanks! Problem resolved! Still, it seems a bit odd to me. When you float elements, no matter how much is there width, they overlap together not push together away. Though, it rendered well in FF. Should I know it as an IE like-ever bug?! :D Thank you.
:D I hmm not sure how it would really have to be either be elastic and "take the width it's given" or 100% of the screen no matter what unless defined.
Here's my html:
and here's my css:
in IE 6, it looks like this:
http://saheran.persiangig.com/ie6-screenshot.jpg
well, in FF it looks nice.
Why in IE the floated element shows out of the header?
The top_nav div is taking up 100% so the other divs are being pushed below it.
Eg. put this in a new html document.
<div id="hello" style="background-color: #333;">Try</div>
Thank you.
Anyay no probs happy coding ^^