Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why does my page not display correctly in Internet Explorer 6?

I created a simple page with a series of divs. In all of the modern browsers, it appears fine, but in Internet Explorer 6, it falls apart. I have no idea what is causing it to happen.

You can view the page here: IE 6 Test Page

If you have IE6 installed, I included the Firebug Lite JS file on the page, so just click the firebug icon in the bottom right corner to inspect an element.

Here's a screenshot using Browserlab to view the page in Firefox and IE6: Comparison Screenshot

Comparison of PAge using Firefox and IE6

The 3rd div named 'content'(With the Manager Email field) moves everything to the right forcing the next div to the next line. Also, none of the row div's reach all the way across as they should(see Comparison Screenshot)

I did some research and have found that there is some problems in IE6 using floats which I use here, but I'm not sure how to fix it.

Why does my page not display correctly in Internet Explorer 6? And better yet, how can I fix it? :)

like image 755
zeckdude Avatar asked Dec 09 '25 22:12

zeckdude


2 Answers

It looks like the third div isn't clearing the float properly. Perhaps give each of the row divs the style clear: both

like image 106
nickf Avatar answered Dec 11 '25 12:12

nickf


Do you really need to support IE6? Even Microsoft is fighting it nowadays and the market share is starting to be irrelevant except for China.

like image 28
hynek Avatar answered Dec 11 '25 14:12

hynek



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!