Error with ID Class called: <div id="verification_control">

Started by mrgtb, November 09, 2009, 04:57:19 PM

Previous topic - Next topic

mrgtb

Keep in mind that a stylesheet css "ID" can only be repeated once on a page or it fails XHTML validation, you need to make it a CLASS instead of an ID, which can be used multiple times on one page and pass W3C validation.

Check this out: hxxp:validator.w3.org/check?uri=http%3A%2F%2Fmrgtb.com%2Fforum%2Findex.php%2Ftopic%2C2.0.html&charset=%28detect+automatically%29&doctype=Inline&group=0&user-agent=W3C_Validator%2F1.654 [nonactive]

That happens because the ID has been repeated two times here in this thread with two posts: hxxp:mrgtb.com/forum/index.php/topic,2.0.html [nonactive]

To fix this problem, change <div id="verification_control"> to this instead <div class="verification_control">

And then alter the CSS in the stylesheet from "#verification_control" to this ".verification_control". So it becomes a class and not an ID

IchBin™

Looking at your site, a forum does not even exist at your URL. However, I see that you are running vBulletin at the root of your domain. So I can't see the problem of where you are talking about.
IchBin™        TinyPortal

Advertisement: