View Full Version : Please Help!!!!!!!!!!!!!!

The Piemaster
11-11-2002, 05:49 PM
I am stuck!

a program I am using has this in the headers

<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

and I use CSS for my bits....but the styles do not work with that code in place but if I remove it it works fine...Got a clue??????

The Piemaster:confused: :confused: :confused: and even more:confused: :confused: :confused: :confused:

11-11-2002, 06:12 PM
xhtml does not permit mistakes in html
thats called a document type declaration.

if you want to use xhtml, then you should post your code up so that someone can fix it, or you can change your doctype to something a bit more "loose"

like this
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

11-11-2002, 08:12 PM
It may help to use a validator to get it right.
For html/xhtml: http://validator.w3.org/
For CSS: http://jigsaw.w3.org/css-validator/validator-uri.html

The Piemaster
11-11-2002, 08:36 PM
Howdidoodi people,

thanks for the replies I found the proble in the CSS it was ( instead of a { abd my weary old eyes had missed it.

Thanks again

The piemaster