Reply
Validaton problem
Old 03-07-2008, 07:27 AM Validaton problem
Experienced Talker

Posts: 33
When I try and validate my website I get error for all my DIV tags as follows..

Line 61, Column 14:
an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified.
<body><div id=container>

What does this mean?

Cheers

Paul
69me is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 03-07-2008, 07:50 AM Re: Validaton problem
Capt Quirk's Avatar
Extreme Talker

Posts: 202
Location: Flordidian
You need quotes around your id- <div id="container">
Capt Quirk is offline
Reply With Quote
View Public Profile
 
Old 03-07-2008, 02:25 PM Re: Validaton problem
Gilligan's Avatar
Dead Like Me

Posts: 1,608
Name: Stefan
Location: London, UK
Unless it doesn't work currently, then use quotations, otherwise it doesn't really matter as your server allows short tags , but it is always best to have it probably validated
Gilligan is offline
Reply With Quote
View Public Profile
 
Old 03-07-2008, 05:38 PM Re: Validaton problem
LadynRed's Avatar
Super Moderator

Posts: 6,539
Location: Tennessee
It DOES matter, and you shouldn't encourage sloppy coding.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is offline
Reply With Quote
View Public Profile
 
Old 03-07-2008, 06:33 PM Re: Validaton problem
Gilligan's Avatar
Dead Like Me

Posts: 1,608
Name: Stefan
Location: London, UK
What i meant was that it makes no change to the output if the server allows it, but like i said, its better to have it validated properly
Gilligan is offline
Reply With Quote
View Public Profile
 
Old 03-07-2008, 08:53 PM Re: Validaton problem
Capt Quirk's Avatar
Extreme Talker

Posts: 202
Location: Flordidian
I spent a bit of time the other night, going between the W3, Dreamweaver, and my FTP program. Check for validation, tweak, upload, recheck, tweak some more... a vicious cycle I have one whole site that passed both XHTML and CSS. The CSS had errors, but passed, so I'm still happy.
Capt Quirk is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Validaton problem
 

Thread Tools

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 Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.13772 seconds with 12 queries