Jump to content

fieldset - can i use this around dropdown menus? [Resolved]


wolfkin

Recommended Posts

so you can see it live here - http://intentionally...m/wt/Page2.html but basically I'm curious as to why this page isn't validating. the fieldset tag is supposed to be used like this

The <fieldset> tag is used to group related elements in a form.The <fieldset> tag draws a box around the related elements.
http://www.w3schools...dset.asp In the form I have here one of my elements is a dropdown menu. I'm not married to it but I like the box w/caption around the dropdown. As far as I can tell this is the only reason my page isn't validating.
  <td>  <fieldset>  <legend>My Student ID</legend>  <select id="studentid">   <option value="nine">Nine</option>   <option value="one">One</option>   <option value="six">Six</option>   <option value="two">Two</option>   <option value="three">Three</option>   <option value="six">Six</option>  </select></td>  </fieldset>  <td>[/size][/font][/color] 

Edited by wolfkin
Link to comment
Share on other sites

Guest LH91325

Good catch! I looked at it myself, to no good result. Even better because the OP did not post the reason why it wasn't validating. Nothing like a handicap...

Link to comment
Share on other sites

thanks. i meant to edit in the validation error, but I got caught up fixing another page and then got called away. I did leave a live link though. Anyway thanks Foxy Mod that was my issue, validate like a charm.

Link to comment
Share on other sites

Guest LH91325

Foxy earns the big bucks. If you had posted the validation error it would have brought the problem down to my pay grade! ;)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...