SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Guru Dashman's Avatar
    Join Date
    Jan 2006
    Location
    Manchester, UK
    Posts
    627
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Grouping select drop downs

    Hi guys,
    I am wanting to apply one label to a group of three drop down menus.
    The three drop downs are "day","month","year"...so, literally put, the whole group represents "date"..
    So, I am thinking of something like <label for="date"> , but that is obviously not valid...
    Will I need to create seperate labels for each menu?
    Has anybody got any ideas?

    Cheers

    D

  2. #2
    SitePoint Addict WarpNacelle's Avatar
    Join Date
    Aug 2005
    Posts
    376
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The only way I can think of is ...

    HTML Code:
     <fieldset>
     <legend>Date</legend>
     
     ... drop down lists...
     
     </fieldset>
    The <fieldset> tag groups any items within it for organizational purposes.
    Doesn't do anything for form data however, strictly a visual thing.


  3. #3
    SitePoint Guru Dashman's Avatar
    Join Date
    Jan 2006
    Location
    Manchester, UK
    Posts
    627
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hi, yeah, thanks for that...I didnt even think of using a fieldset there....

    D


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •