SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict
    Join Date
    Nov 2005
    Posts
    241
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Position text next to text box

    I have a page with a lot of CSS and am having trouble positioning text within a div tag.

    The page can be viewed at (link removed)

    Type something in the password box, and you will see that underneath the label, it will say weak, strong, medium, etc. How can I get this text to appear to the right of the text box, instead of underneath it?

    Thanks.
    Last edited by penguinator; Sep 22, 2006 at 13:11.

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,556
    Mentioned
    183 Post(s)
    Tagged
    6 Thread(s)
    Hi,

    You could try something like this:

    Code:
    #password_field{float:left;margin-right:7px;}
    #strength{position:relative;top:2px}

  3. #3
    SitePoint Addict
    Join Date
    Nov 2005
    Posts
    241
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks a lot. That is exactly what I wanted.


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
  •