Uno Mein Ame
Uno Mein Ame

Reputation: 1090

IE6 compatibility. Page works fine everywhere but in IE6

I have pretty much the same markup for all pages of the website, and most of them are done via php includes (in other words, the largest chunk of the code is the same throughout all pages).

All pages but one (dynamically generated) work as intended in all browsers including ie6.

The one page (for example, http://mincovlaw.com/doc/euro-excellence) works as intended in FF3.6, Chrome, Safari (including on iPhone) and IE7.

In IE6, it seems that there is some problem with the <DIV>s. I thought it had to do with the floating menu, but even if I remove the code completely, the DIVs are still not displayed correctly.

If you click on About or pretty much any other page of the website in IE6, the same structure of the DIVs works fine.

I do want the website to work in IE6. Please help me figure out why it behaves like this on this page.

To make things clearer, the three problems I am referring to in IE6 are:

  1. The floating Bookmarks menu ends up in the right hand corner of the "paper", not in the right hand corner of the window, as it should.

  2. Consequently, when I drag the bookmarks menu, the coordinates are all screwed up.

  3. If you compare the page to, for example, Services in IE6, you will notice that on the Services page, the paper width is the same in the middle and on top and on the bottom, whereas it is slightly wider on the court decision page that I gave you the link for.

PS I know the code has many problems with validation, most of which have to do with ul's not having corresponding li's. This is currently by design.

IMPORTANT UPDATE!!! I have just discovered something. It seems that the problem #3 somehow is related to two lines in the css, namely:

text-align:justify; 

for p and .indented

Can someone tell me why this is happening?

Upvotes: 0

Views: 148

Answers (1)

Guffa
Guffa

Reputation: 700850

You should use the HTML validation service to validate your page.

There are plenty of things that the validation complains about. Some things should not be a problem, like obsolete tags like center and u, and problems when the service tries to validate the Javascript code, but there are some actual errors in the code, like some ul tags that are not closed, and ul tags that contain p elements instead of li elements.

Upvotes: 3

Related Questions