Customizing SMF > SMF Coding Discussion
Codeing Help Please.. I have a one line error.
(1/1)
tmlfever:
Can Someone please help? I'm getting this error when validateing my page:
Below are the results of attempting to parse this document with an SGML parser.
Line 551, column 39: the name and VI delimiter can be omitted from an attribute specification only if SHORTTAG YES is specified
<option value="10" selected>10 - Best</option>
This is the code I am useing:
530: <form name="box" action="http://www.nhlboard.com/cgi-bin/rankmaster/rate.cgi" method="post" target="_blank"><input type="hidden" name="PHPSESSID" value="ff184b78edcdf94cd09f2ed6296a3c25" />
531: <input type="hidden" name="id" value="107"/>
532: <table width="120" border="0" cellspacing="0" cellpadding="1">
533: <tr>
534: <td>
535: <div align="center"><font color="#000000"><i><b>Rate this site!</b></i></font></div>
536: </td>
537: </tr>
538: <tr>
539: <td>
540: <div align="center">
541: <select name="rating" size="1">
542: <option value="1">1 - Worst</option>
543: <option value="2">2</option>
544: <option value="3">3</option>
545: <option value="4">4</option>
546: <option value="5">5</option>
547: <option value="6">6</option>
548: <option value="7">7</option>
549: <option value="8">8</option>
550: <option value="9">9</option>
551: <option value="10" selected>10 - Best</option>
552: </select>
553: <input type="submit" name="submit" value="Go"/>
554: </div>
555: </td>
556: </tr>
557: </table>
558: </form>
How do I correct This?
Jack.R.Abbitâ„¢:
I'm totally sure but try this:
<option value="10" selected="selected">10 - Best</option>
tmlfever:
Worked like a charm. Thank You.. ;D :D
Navigation
[0] Message Index
Go to full version