Webmaster Forum

Sponsored Reviews   Keyword Research Tool   V7N Directory
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Reply
 
LinkBack Thread Tools Display Modes
Old 02-11-2008, 07:49 AM   #1 (permalink)
Member
 
Join Date: 11-09-07
Posts: 31
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  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 02-11-2008, 02:30 PM   #2 (permalink)
Contributing Member
 
htmlbasictutor's Avatar
 
Join Date: 10-29-07
Location: British Columbia, Canada
Posts: 65
iTrader: 0 / 0%
htmlbasictutor is liked by many
Did you try ftping your copy of the website to their webspace?

I had a customer who used Yahoo hosting and use to ftp everything.

It validated, other than Yahoo's javascipt for their stats.
__________________
HTML Basic Tutor
Web Page Mistakes
htmlbasictutor is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-11-2008, 03:43 PM   #3 (permalink)
Member
 
Join Date: 11-09-07
Posts: 31
iTrader: 0 / 0%
Rushtrack is liked by many
Quote:
Originally Posted by htmlbasictutor View Post
Did you try ftping your copy of the website to their webspace?

I had a customer who used Yahoo hosting and use to ftp everything.

It validated, other than Yahoo's javascipt for their stats.
I wish.


The store editor they use is a legacy and thus does not (for some reason) have the ability to ftp. Its a really brutal old system....

No big deal though as I have gotten them to change hosts and migrate into the new millenium a few years late..
Rushtrack is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-12-2008, 01:19 AM   #4 (permalink)
Contributing Member
 
Join Date: 09-03-07
Location: England
Posts: 358
iTrader: 0 / 0%
Latest Blog:
None

Boogle is liked by somebodyBoogle is liked by somebodyBoogle is liked by somebodyBoogle is liked by somebodyBoogle is liked by somebody
Couldn't you have appended the DOCTYPE on load using javascript?
__________________
Price is what you pay... Value is what you get.
Boogle is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-12-2008, 07:08 AM   #5 (permalink)
Member
 
Join Date: 11-09-07
Posts: 31
iTrader: 0 / 0%
Rushtrack is liked by many
Quote:
Originally Posted by Boogle View Post
Couldn't you have appended the DOCTYPE on load using javascript?

Thats kind of what I was long windedly asking in the OP.


Is this possible?

Does anyone know how to do is?



Though I got away with switching hosts with this particular site...there are others tucked away in their yahoo legacy that may need attention in the future..

(Although I guess I could just build with the correct Doctype in the future )
Rushtrack is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-12-2008, 07:09 AM   #6 (permalink)
Contributing Member
 
Join Date: 09-03-07
Location: England
Posts: 358
iTrader: 0 / 0%
Latest Blog:
None

Boogle is liked by somebodyBoogle is liked by somebodyBoogle is liked by somebodyBoogle is liked by somebodyBoogle is liked by somebody
Well strictly speaking we all should be building in XHTML anyway so it'd be good to fix around this!

i'm not sure about the code for this though. i will look into however because i'm slowly (very slowly!) building my JS knowledge and this sounds like something fun!

Boog's
__________________
Price is what you pay... Value is what you get.
Boogle is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-12-2008, 02:44 PM   #7 (permalink)
Member
 
Join Date: 11-09-07
Posts: 31
iTrader: 0 / 0%
Rushtrack is liked by many
Quote:
Originally Posted by Boogle View Post
Well strictly speaking we all should be building in XHTML anyway so it'd be good to fix around this!

i'm not sure about the code for this though. i will look into however because i'm slowly (very slowly!) building my JS knowledge and this sounds like something fun!

Boog's
Apparently Yahoo realized it was rather narrow minded of them to force people into using outdated doctypes so in their newer stores they allow you to change it to your pleasing...

I would appreciate any help you can offer around this.

Rush
Rushtrack is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
no Doctype found Cabaya SEO Forum 1 01-30-2008 11:56 PM
CSS issues Hugenerd Coding Forum 2 02-21-2006 07:46 PM
<!DOCTYPE HTML 4.01 Transitional//E GoldDust Coding Forum 6 02-10-2004 10:29 PM
Doctype problems jallard Coding Forum 14 11-06-2003 05:02 PM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 06:19 AM.
© Copyright 2008 V7 Inc


Search Engine Optimization by vBSEO 3.1.0 ©2007, Crawlability, Inc.