SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot
    Join Date
    Jul 2011
    Posts
    199
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Checkboxes and labels the elegant way

    Hello,

    I'm having a hard time getting checkboxes and text inside <label> looking good, especially since I want the checkbox to be on the left of the text.

    Code:
    <label for="someid">This is a label
      <input type="checkbox" name="someid" id="someid">
    </label>
    Does anybody have any coding advice to show?

    Cheers.


  2. #2
    Chopped Liver bronze trophy imaginekitty's Avatar
    Join Date
    Aug 2007
    Location
    Pennsyltucky
    Posts
    1,494
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)


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
  •