CSS Layout Problem (looks fine in IE, but...)

G

Geoff Hague

Hello to everyone in this wonderful, wonderful newsgroup! :)

I have what I hope to be a fairly easy-to-solve CSS layout problem. The
website in question is:
http://www.captainsoftheworld.com/modernrepublic/index.php
and it's associated style-sheet is at:
http://www.captainsoftheworld.com/modernrepublic/ModernRepublic.css

Anyway, the layout seems to work perfectly well in Internet Explorer.
Here's a link to how it's supposed to look:
http://www.captainsoftheworld.com/modernrepublic/good.gif
I don't have an image showing the problem at the moment (the computer I'm
posting from only has IE installed), but it'll be very obvious to anyone who
views the site in, say, Mozilla or Safari.

If anyone could offer some suggestions, it'd be much appreciated.

Thanks!
~Geoff
 
K

Kris

Geoff Hague said:
I have what I hope to be a fairly easy-to-solve CSS layout problem. The
website in question is:
http://www.captainsoftheworld.com/modernrepublic/index.php
and it's associated style-sheet is at:
http://www.captainsoftheworld.com/modernrepublic/ModernRepublic.css

Anyway, the layout seems to work perfectly well in Internet Explorer.
Here's a link to how it's supposed to look:
http://www.captainsoftheworld.com/modernrepublic/good.gif
I don't have an image showing the problem at the moment (the computer I'm
posting from only has IE installed), but it'll be very obvious to anyone who
views the site in, say, Mozilla or Safari.

You are working with IE's broken CSS box model, under the impression
that that is the 'right' way.

Add this DocType declaration to the start of your document and review in
IE6. If correct, it would now look in IE like it looks in Moz or Safari.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

That may only solve one or two issues, though.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,989
Messages
2,570,207
Members
46,783
Latest member
RickeyDort

Latest Threads

Top