Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    May 2007
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    different size with the same value

    In IE I get different sizes for the same value of the user input ( wider ) and the password input . It's a login form and I use a size of 20 for both inputs.
    How can I fix this ?

  • #2
    Senior Coder coothead's Avatar
    Join Date
    Jan 2004
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,680
    Thanks
    0
    Thanked 230 Times in 225 Posts
    Hi there marian26,
    How can I fix this ?
    Use CSS to set the dimensions.

    coothead

  • #3
    New Coder
    Join Date
    May 2007
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks a lot, I'd used id for both inputs and added in the css file :
    #user_input, pass_input {
    width:140px;
    }

    It's ok ?

  • #4
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,471
    Thanks
    6
    Thanked 980 Times in 953 Posts
    Thatís OK. However, note that you have a typo in your CSS. You forgot the number sign (#) in front of the second selector (#pass_input). Thatís why it probably doesnít work.


  •  

    Posting Permissions

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