Issues with IE6

Associate
Joined
17 Mar 2004
Posts
1,562
http://www.steambathsaunas.com

Seems to be problems in IE6, with FF and IE7 it's perfect.

It pushes all the content to the bottom left under the navigation.

I thought it was a float issue at first but after double checking it all seems fine. Margins, sizes etc all add up too.

Could anyone else take a look? :)
 
Soldato
Joined
19 Oct 2002
Posts
3,480
this is just one of those typical ie6 problems that everyone hates, i am not knowledgeable anough to tell you exactly why it happens (although i would like to know :)) - but a good solid fix for this which is pretty good practice is to have the left column absolutely positioned (0,0) and to position the right column with a left margin of the width of the nav...

does that make sense? hope it helps :)
 
Associate
Joined
14 Apr 2003
Posts
1,101
havent got IE6 but it definitely sounds like a box model problem. i.e. in IE it calculates the size of a 'box' differently to FF and IE 7. Google box model hack and see if that is any use.
 
Soldato
Joined
19 Oct 2002
Posts
3,480
SoapSurgeon said:
havent got IE6 but it definitely sounds like a box model problem. i.e. in IE it calculates the size of a 'box' differently to FF and IE 7. Google box model hack and see if that is any use.
that much is definate it is surely related to the box model problem, although i wouldn't hack it i'd just add the correct doctype :)
 
Soldato
Joined
18 Oct 2002
Posts
5,464
Location
London Town
Phaser said:
What do you mean correct doctype?
IE6 has different modes for rendering a document - one is 'standards' mode and the other is 'quirks' mode. The latter is for backwards compatibility, and means that if your document is rendered in quirks-mode it uses the old IE5 (incorrect) box-model. Standards-mode in IE6 uses the correct box-model.

So you should ensure standards-mode is enabled, and this is triggered by the doctype. See: http://hsivonen.iki.fi/doctype/

e.g.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
for XHTML 1.0, and
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
for HTML 4.01.

However, your doctype is fine - and should have IE6 in standards-mode.
 
Soldato
Joined
18 Oct 2002
Posts
5,464
Location
London Town
I've checked in IE6 in Windows 2000, and it's rendering perfectly fine for me. Are you sure you've not got an old version of the CSS cached? Try ctrl-F5ing to see if that cures it.
 
Back
Top Bottom