line-height on input tag

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • henryrhenryr
    New Member
    • Jun 2007
    • 103

    line-height on input tag

    Hi

    Simple question - is line-height applied to input tag. I thought it was until today when I'm trying to iron out a 1px error and I think my input field is causing the problem by ignoring the line-height... Anyone know?

    Thanks

    Henry
  • jhardman
    Recognized Expert Specialist
    • Jan 2007
    • 3405

    #2
    Probably not, but it might be browser-dependent. Try setting the height of the input [code=html]style="height: 24px;"[/code]let me know if this helps.

    jared

    Comment

    • nitinpatel1117
      New Member
      • Jun 2007
      • 111

      #3
      Also check the font-size of the input box.
      i.e. the size of the font inside of the input box when you type text into that input box. because the input box may be being forced to grow to accomodate the font inside of it.

      Comment

      Working...