type="password" & another type="text", same class applied, different output.

Discussion in 'CSS' started by tuxster118, Oct 17, 2010.

  1. #1
    input-field-css.jpg

    Hi,

    Referring to the attachment, I'm having this problem which I couldn't figure out.

    Both text box were applied the same class, but the password text field came out different in terms of size and border color.

    When I change the password text field type from "password" to "text", it would then be identical.

    Any idea why this is happening? Thanks in advance.
     
    tuxster118, Oct 17, 2010 IP
  2. Cash Nebula

    Cash Nebula Peon

    Messages:
    1,197
    Likes Received:
    67
    Best Answers:
    0
    Trophy Points:
    0
    #2
    They should be the same. Can you post the link or markup to your site? What browser are you using?
     
    Cash Nebula, Oct 17, 2010 IP