Hello,
I am following the tutorial for using CSS for making forms. Awesome tutorial by the way. However, when I preview the form in a browser, all the radio buttons can be clicked. In other words I can fill in all the radio buttons instead of being restricted to just one. Here is a sample of the code:
<legend>II. Approximate Volume of Scans</legend>
<fieldset>
<p>Number of Pages to be scanned</p>
<ol>
<li><label for="Less_than_500">Less than 500</label>
<input type="radio" id="less500" name="less_than_500_pages" /></li>
<li><label for="500-5000">500-5000</label>
<input type="radio" id="500-5000" name="500-5000" /></li>
<li><label for="5000-15000">5000-15,000</label>
<input type="radio" id="5000-15000" name="5000-15000"/></li>
<li><label for="15-30000">15-30,000</label>
<input type="radio" input id="15-30000" name="15-30000" /></li>
<li><label for="30000">30,000+</label>
<input type="radio" id="30000+" name="30000+" /></li>
</ol>
</fieldset>
I tried some sample Dreamweaver created code:
<p>
<label>
<input type="radio" name="Number of Volumes to be scanned" id="Number of Volumes to be scanned_0" />
Less than 500</label>
<br />
<label>
<input type="radio" name="Number of Volumes to be scanned" id="Number of Volumes to be scanned_1" />
500-5000</label>
<br />
That code works OK. I'm an old man so have pity on me.I just can't see what's wrong.
All the best,
Luciano



I just can't see what's wrong.






Bookmarks