Hi all,
This is more of a techie question, but maybe someone can help unravel a mystery for me.
It started off with a post I made on a link-exchange site, looking for some new sites to exchange with. The first reply I got was:I'd start by fixing your site. Over 50 errors when validation of code is checked. http://validator.w3.org/check?uri=http%3A%2F%2Fwww.trudeauconsulting.com%2F
Sure enough, I ran my site through the w3 checker and I got pages of errors. After looking through the list though, I'm not so sure that many of these errors are anything I have control over.
Take for example this one:
Error Line 10 column 1176: value of attribute "ID" invalid: "_" cannot start a name.
.../DNN-Gray/container.css" /><link id="_Portals_0_" rel="stylesheet" type="text
...I don't set this anywhere... isn't all this controlled by how the DNN .ascx gets built?
Here's another one.... Can anyone help me with this? Do I have to fix anything in my default.aspx file?
Error Line 48 column 74: document type does not allow element "DIV" here; missing one of "APPLET", "OBJECT", "MAP", "IFRAME", "BUTTON" start-tag....span><DIV ID='dnn_dnnMENU_ctldnnMENU'><TABLE ID='tblMenuBar' CELLPADDING="0"
The mentioned element is not allowed to appear in the context in which you've placed it;
the other mentioned elements are the only ones that are both allowed there and and can contain the element mentioned.
This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.
One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>")
inside an inline element (such as "<a>", "<span>", or "<font>").