Jump to content
wolfkin

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

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

Share this post


Link to post
Share on other sites

You have an error in the order of the closing tags. That's the only validation error here.

Share this post


Link to post
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...

Share this post


Link to post
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.

Share this post


Link to post
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! ;)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...