Welcome to WebmasterWorld Guest from 54.145.246.183

Forum Moderators: httpwebwitch

changing doctype to xhtml

but it causes my css not to work properly

   
3:32 pm on Sep 17, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This is the problematic line:

<?xml version="1.0" encoding="iso-8859-1"?>

If I take it out, my css positions stuff nicely - if I leave it in, my centered page displays left aligned in all versions of IE. Moz seems to be fine either way.

Do I need this line (I'm guessing what the answer to this will be ;)) and if so, can anyone shed any light on the problem?

3:36 pm on Sep 17, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Sticking that line in causes IE to act in "Quirks Mode".

It's not necessary.

Details [google.com].

8:53 am on Sep 19, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



That's excellent news, thanks :)

I was worried I might have to take my css back to the drawing board (again).

 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month