PDA

View Full Version : Doctype messing up my site



Defender90
06-18-2008, 03:06 PM
Basic question here. I have a site I'm editing. Every time I try to ad a doctype to each page. (there Isn't one now) it messes some items up. Mostly CSS stuff.

Any ideas? I use dreamweaver

Medyman
06-18-2008, 11:58 PM
I can think of two obvious reasons...

1) You're using the wrong doctype.
2) You're using non-standards compliant code that breaks in standards mode

It's hard to know without viewing the site in question.

Defender90
06-19-2008, 01:28 PM
Working. Thanks

boogyman
06-19-2008, 01:57 PM
Basic question here. I have a site I'm editing. Every time I try to ad a doctype to each page. (there Isn't one now) it messes some items up. Mostly CSS stuff.

Any ideas? I use dreamweaver

in the future can you please provide us more information. saying my site is broken but not explaining or better yet giving us an example of your code (url or post here) will not enable us to help you solve your problem


Working. Thanks

glad to see you found the error