What's the proper Doctype for asp.net pages ?

C

craigkenisston

Hi,

I'm running my asp.net 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 asp.net add these when
I use web controls which contains elements with id attributes.

Line 330, character 10:
<div id="_1f29738226adaf00__ctl0_topicGroupJobs_idTopicsCont ...
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
asp.net.

What do you do in this case ?
 
A

Anon-E-Moose

(e-mail address removed) wrote in @g47g2000cwa.googlegroups.com:
In this case, my id is just "topicsGroupJobs", all the rest is added by
asp.net.

What do you do in this case ?

Ignore the validator ; )
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top