PDA

View Full Version : No CSS formatting in IE7, great in FF


CraigR
05-20-2009, 10:22 AM
I am finding this a bit frustrating and don't understand what's wrong.

My site is under construction, and I am putting together a page to show effects of CSS.
The visitor can choose a theme from the list, and the choice is stored as a sessionid and the page is reloaded with the alternative css styles.

Only 2 (unfinished) themes as yet, but you get the idea.

In FF, page(s) appear fine, but in IE, menus are text only.

This seems to be a recurring problem, is there a checklist or something I can use to try and resolve this problem ?



Grateful for any help.

Ray Borduin
05-20-2009, 10:48 AM
Move the tag:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">


so that it is the top line of code. IE will not render properly when you have teh css above this line like you do on your page.

CraigR
05-20-2009, 11:23 AM
wow, thanks Ray, the simple solutions are the best.