The only problem I have getting my page to validate is that the validator says this :
Line 27, column 39: there is no attribute "onClick"
<div id="tempmenu"><a href=http://www.webdeveloper.com/forum/archive/index.php/"#" onClick="MM_openBrWindow('Culture.htm','CULTURE',
I didn't get this problem until I reorganised the page and what was kept where - includes, js files, etc. Is it telling me that I shouldn't be using javascript or... I don't know... what's going on?!
For reference, this (<!-- m --><a class="postlink" href="http://cheers-sendai.com/">http://cheers-sendai.com/</a><!-- m -->) is the page (the menu is the big one on the left) and this (<!-- m --><a class="postlink" href="http://cheers-sendai.com/tempmenu.txt">http://cheers-sendai.com/tempmenu.txt</a><!-- m -->) is the code which is included (SSI) that the validator doesn't like.
Thanks in advance for any help (or just some kind of explanation).This isn't CSS, but anyway...
XHTML requires all tags and attributes to be lowercase. Thus, onClick becomes onclick. Simple as that.D'oh!
I keep flipping between the two - the CSS and HTML forums (or is it 'fora').
I put this post in the wrong place. Simple mistake.
And yeah... lowercase. I should have known that.
Thanks a lot.
Line 27, column 39: there is no attribute "onClick"
<div id="tempmenu"><a href=http://www.webdeveloper.com/forum/archive/index.php/"#" onClick="MM_openBrWindow('Culture.htm','CULTURE',
I didn't get this problem until I reorganised the page and what was kept where - includes, js files, etc. Is it telling me that I shouldn't be using javascript or... I don't know... what's going on?!
For reference, this (<!-- m --><a class="postlink" href="http://cheers-sendai.com/">http://cheers-sendai.com/</a><!-- m -->) is the page (the menu is the big one on the left) and this (<!-- m --><a class="postlink" href="http://cheers-sendai.com/tempmenu.txt">http://cheers-sendai.com/tempmenu.txt</a><!-- m -->) is the code which is included (SSI) that the validator doesn't like.
Thanks in advance for any help (or just some kind of explanation).This isn't CSS, but anyway...
XHTML requires all tags and attributes to be lowercase. Thus, onClick becomes onclick. Simple as that.D'oh!
I keep flipping between the two - the CSS and HTML forums (or is it 'fora').
I put this post in the wrong place. Simple mistake.
And yeah... lowercase. I should have known that.
Thanks a lot.