Thread: DOCTYPE Issues
View Single Post
Old 02-11-2008, 07:49 AM   #1 (permalink)
Rushtrack
Member
 
Join Date: 11-09-07
Posts: 32
iTrader: 0 / 0%
Rushtrack is liked by many
DOCTYPE Issues

Hello.


Built a site using Dreamweaver simply as a text editor. The Doctype on the page is

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
When building I tested it through several different hosts and on many different browsers. It worked fine on all. The client wanted it set up through their Yahoo! store which has a built in editor (really really terribly annoying to work with) that automatically writes its own Doctype which is this

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
The fact that Yahoo!s auto doctype business does not specify the transitional.dtd is really ruining my day as it serves to basically have browsers interpret my code in an entirely new manner.

So I called yahoo!.And they said no we will not change that for you...to fix the problem just rebuild your site using tables rather than css!!

I dont want to do that.

Any thoughts as to how I might be able to call the .dtd document without doing so in the doctype declaration? or something?

Thanks
Rushtrack is offline   Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links