views:

66

answers:

6

Here's my page

It looks correct in Firefox, but of course in Internet Explorer, there's an issue.

The main body of the page is not displaying correctly. The left and right divs are not showing the white background that I'm trying to get them to.

A: 

Try separating your shortcut for background in your #left id in css. IE may not be parsing it correctly.

The #right div looks OK (I'm using IE7).

tahdhaze09
+4  A: 

Your HTML appears to be broken. For example <div id="mainbody" is not closed. Run it through a validator and fix all the markup problems.

Chetan Sastry
yeh, this is a good idea - start with valid XHTML/CSS first, then look at the other issues.
cottsak
Thanks so much, I can't believe I missed that!Ellewww.modastudio.com
Elle
A: 

You need to change <div id="mainbody" to <div id="mainbody"> as i told you earlier.

Colour Blend
Thanks for responding and helping out!Elle
Elle
A: 

Use the W3C validator: [Invalid] Markup Validation of modastudio.com/docs_new/bostondentalposters.shtml - W3C Markup Validator.

You've got a bad doctype that will throw IE into quirks mode, as well as missing tags, double charset calls (that should be UTF instead of 8859), duplicated meta tags, etc.....

songdogtech
I'll definitely look into that, thank you for the help.Elle
Elle
A: 

You're also nesting tables and lists inside of paragraph tags which is invalid markup for the doctype you're using. A handful of the meta tags are not closed correctly along with capitalization of attributes which are also not allowed with the selected doctype. The stylesheet link tag is not closed correctly. The images tags in the table are not close correctly nor are the break tags.

Fix the html errors first and then see where you're at with your layout.

Good luck and hope this helps some.

Chris
A: 

Maybe not really an answer to your question, but since you seem to develop in Firefox, you might want to try the HTML Validator extension. Makes this kind of development a lot easier.

nfechner