Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > What's the proper Doctype for pages ?

Thread Tools

What's the proper Doctype for pages ?
Posts: n/a

I'm running my website against several HTML validators.
My pages have the html 4.01 strict doctype, because I wanted to avoid
problems with the difference in the box model across browsers.

However, all the validators complains about the use of "_" character as
the begining as an "id". I don't have this, but add these when
I use web controls which contains elements with id attributes.

Line 330, character 10:
<div id="_1f29738226adaf00__ctl0_topicGroupJobs_idTopic sCont ...
Error: value of attribute ID must start with a letter, not _

In this case, my id is just "topicsGroupJobs", all the rest is added by

What do you do in this case ?

Reply With Quote
Posts: n/a
      09-09-2005 Removed) wrote in news:1126283846.988067.217890

> In this case, my id is just "topicsGroupJobs", all the rest is added by
> What do you do in this case ?

Ignore the validator ; )

Reply With Quote

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Proper DOCTYPE breaks JavaScript in IE9 P E Schoen HTML 14 08-11-2012 05:08 AM
CSS Newbie - CSS Works With Invalid DOCTYPE. Fails With Valid DOCTYPE. Larry Lindstrom HTML 19 06-12-2012 02:07 PM
DOCTYPE declarations not generated by ASP.NET Neil Zanella ASP .Net 3 01-04-2005 11:18 PM
Setting DocType in Asp.Net Kenneth Keeley ASP .Net 1 06-30-2004 01:59 PM creates doctype wrong? Ian ASP .Net 2 06-21-2004 12:32 PM