Old 04-14-2004   #1 (permalink)
Registered User
 
Hornet's Avatar
 
Join Date: Nov 2003
Location: Hiding in a ditch with a stolen laptop, somewhere in the South of England.
Posts: 66

Strange things are afoot.

I'm now nearly completed my website, but I've hit a rather strange snag. I've run the page through the usual WC3 validator, and it tells me that I need a doctype tag. So I add the appropriate one - HTML transitional - and my main javascript breaks. Nothing else has changed, yet the script is now useless. Does anyone have any idea why, and how I can get around it? The script is supposed to make a layer stay in the same place on the screen, and it works perfectly once the offending tag is removed. Is the tag even needed? The main browsers support the page as it is without any qualms, but is it different for a live site?
I'm running Apache, PHP, ActivePerl and MySQL on my testing server, and they don't seem to object either...

*Hits head on laptop* I've just been searching for information about this, and I've only just thought of doing the blindingly obvious. Google doesn't have one, and since that'll have been written for maximum compatibility (even Lynx can use it) then it can't be that essential after all.

Wow, this post accomplishes absolutely nothing. Go me.
__________________
De Profundis, Sed Non Satatia.
Hornet is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 04-29-2004   #2 (permalink)
Read my sig and hire me
 
Evdawg's Avatar
 
Join Date: Oct 2003
Location: Canada, eh!
Posts: 775

Send a message via MSN to Evdawg
try another DOCTYPE. XHTML strict might work. Hopefully, it might solve your problem.

If not, i guess just forget the DOCTYPE.

sorry noone has responded to your post. i guess you just ask the hardest questions. :P
__________________
Yes, I do freelance design. Feel free to PM me if you want to , or visit my Website.
Evdawg is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 04-29-2004   #3 (permalink)
Sheep Worrier
 
Man1c M0g's Avatar
 
Join Date: Sep 2003
Location: Portsmouth, UK.
Posts: 4,105
Blog Entries: 14

Send a message via ICQ to Man1c M0g Send a message via MSN to Man1c M0g Send a message via Skype™ to Man1c M0g
Lol, I missed this post myself! A DOCTYPE would be nice, but if none of the common ones work, and creating your own also comes up a blank, i'd just leave it out. As long as it displays in 99% of web browsers, then your mission will be accomplished.
__________________
Man1c M0g is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 04-30-2004   #4 (permalink)
Registered User
 
Hornet's Avatar
 
Join Date: Nov 2003
Location: Hiding in a ditch with a stolen laptop, somewhere in the South of England.
Posts: 66

What's the point of Doctypes then? IE, Opera, FireFox and the Moz don't seem to care if they're present or not, but they must have some prupose beyond HTML validation.

Also, M0g, your latest forum update seems to mildly disagree with FireFox - take a gander at the attached screenshot.
Attached Thumbnails
strange-things-afoot-weirdness.gif  
__________________
De Profundis, Sed Non Satatia.
Hornet is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT +1. The time now is 05:28 PM.
Content Relevant URLs by vBSEO 3.2.0

Design & Content © BioRUST 2008 :: PRIVACY STATEMENT :: LEGAL INFORMATION :: ADVERTISING MEDIA KIT