Problems with Explorer 5.5 css margins

pmj7's picture

He has: 234 posts

Joined: Nov 2002

I'm using a fluid 3 column css layout and I'm having problems with Explorer 5 and 5.5. Left column 18%, right column 291 pixels.

http://www.supernaturalwoman.com

OR

http://members.shaw.ca/jonespm2/snw

It's reported that under Explorer 5.x the center column spans the entire width of the page. The CSS is defined at http://members.shaw.ca/jonespm2/snw/nucss2.css.

I've used IEradicator to remove Explorer 6 from my system and install 5.5 and 5, but everything comes up perfect. It seems that the bits and pieces left in your system handle the CSS so there's no way for me to see things broken - aside from re-installing Windows (no thanks!)

I'm using the Explorer 5.x workaround for margins, so I'm not sure what's going wrong.

Any help would be appreciated! Thanks!

Peter

Touchup image processing applet
Pixel Development Web Design, Photography

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fmembers.shaw.ca%2Fjonespm2%2Fsnw%2Fnucss2.css&warning=1&profile=css2

You might want to validate the CSS first to make sure there aren't any issues with parsing that are causing other issues as well as missing unit measures and redundant unit measures.

pmj7's picture

He has: 234 posts

Joined: Nov 2002

Agreed and done. There remains 2 parsing errors (from the Explorer 5.5 box hack, recommended for the 3 column fluid layout), and one warning for fonts.

Peter

Touchup image processing applet
Pixel Development Web Design, Photography

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

Actually, those are errors...

html>body #articlecontent {
margin-left: 18%;
}
}

See? Extra closing }.

You can't nest declarations.

(N.B. For others wondering... http://www.tantek.com/CSS/Examples/boxmodelhack.html is the box model hack.)

pmj7's picture

He has: 234 posts

Joined: Nov 2002

Very true! Ok, I've removed the extra braces.

Thanks!

Peter

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

someone can always see what you can't, lol... semi-colons and closing curly braces!

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.