View Full Version : Using <noscript> in table// HTML tidy error
HTML tidy gives me an error when putting a <noscript> block in a table. The table is set up as a navtable and I've anchored the javascript in the table. The navscript will replace the javascript navmenu if the users browser doesn't like javascript.
Will ignoring this error give me any problems?
Cheers
Cam
redhead
09-01-2002, 09:24 PM
putting <noscript> in a table shouldnt cause any errors... if in doubt... throw it on the web and see for yourself ;)
Thanks, I've done that.
Just wondering if there was some esoteric error it would cause that I may not be aware of
Cheers
Cam
joh6nn
09-01-2002, 10:15 PM
alternatively, post the code, so we can look at it. easier to make a call if you can see the play. ::wonders why refs don't know that::
Ooops... stupid me
After looking at it again what had happened was the <noscript> bridged the navtable rather than enclosing it.
E.g.
<tr><td>
<noscript>
<!-- no script nav table-->
<table width=100% summary="no script nav table">
<tr>
<td>Content of table</td>
</tr>
</noscript>
</table>
</td>
</tr>
Instead of
<tr><td>
<noscript>
<!-- no script nav table-->
<table width=100% summary="no script nav table">
<tr>
<td>Content of table</td>
</tr>
</table>
</noscript>
</td>
</tr>
Sloppy, sloppy, sloppy.... time for another coffee...
Cam
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.