Problem with Text Field height in Firefox

Discussion in 'HTML' started by, Aug 21, 2006.

  1. Guest

    I'm running Firefox version and when I load an html file
    containing the code shown below, although both the text field and the
    button are defined as 24 pixels in height, the text field is displayed
    30 pixels tall. In Internet Explorer they display as specified.

    Any ideas why Firefox is adding 6 pixels to the height of the text

    - MB

    <?xml version="1.0"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    <html xmlns="">

    <input type="text" size="10" id="form1:textField1"
    name="form1:textField1" class="TxtFld" style=" height: 24px; left:
    20px; top: 80px; position: absolute; width: 220px" value="" />

    <input id="form1:button1" name="form1:button1" class="Btn2"
    style="height: 24px; left: 250px; top: 80px; position: absolute; width:
    70px" type="submit" value="Search">

    , Aug 21, 2006
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.

Share This Page