can't get rid of 1px bar in IE

Discussion in 'HTML' started by ojorus, Apr 13, 2007.

  1. ojorus

    ojorus Guest

    Hi;
    I'm having some trouble with a button in IE. I have submit-button, wich I
    want to be 18px high. This works fine in Firefox and Opera, but IE (using
    IE6) ads an extra one pixle high bar at the top, which make the total size
    to 19px! How can I get rid of this extra pixel? (I've made the table cell
    backround color red so it is easy to see.) Why is IE doing this?

    Check it out here: http://www.ojorus.net/test/test.html

    regards
    ojorous
    ojorus, Apr 13, 2007
    #1
    1. Advertising

  2. ojorus

    Els Guest

    ojorus wrote:

    > Hi;
    > I'm having some trouble with a button in IE. I have submit-button, wich I
    > want to be 18px high. This works fine in Firefox and Opera, but IE (using
    > IE6) ads an extra one pixle high bar at the top, which make the total size
    > to 19px! How can I get rid of this extra pixel? (I've made the table cell
    > backround color red so it is easy to see.) Why is IE doing this?
    >
    > Check it out here: http://www.ojorus.net/test/test.html


    Make sure the </td> is glued to the <input> element, without any white
    space between. Takes out the 1 px in my IE6.

    --
    Els http://locusmeus.com/
    accessible web design: http://locusoptimus.com/
    Els, Apr 13, 2007
    #2
    1. Advertising

  3. ojorus

    ojorus Guest

    Thanks! That's it!

    ojorus


    "Els" <> skrev i melding
    news:yos78aifcm84$.k3x4h68dx2t7$...
    > ojorus wrote:
    >
    >> Hi;
    >> I'm having some trouble with a button in IE. I have submit-button, wich I
    >> want to be 18px high. This works fine in Firefox and Opera, but IE (using
    >> IE6) ads an extra one pixle high bar at the top, which make the total
    >> size
    >> to 19px! How can I get rid of this extra pixel? (I've made the table cell
    >> backround color red so it is easy to see.) Why is IE doing this?
    >>
    >> Check it out here: http://www.ojorus.net/test/test.html

    >
    > Make sure the </td> is glued to the <input> element, without any white
    > space between. Takes out the 1 px in my IE6.
    >
    > --
    > Els http://locusmeus.com/
    > accessible web design: http://locusoptimus.com/
    ojorus, Apr 13, 2007
    #3
    1. Advertising

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.
Similar Threads
  1. Matt
    Replies:
    0
    Views:
    3,525
  2. John Hann
    Replies:
    0
    Views:
    6,042
    John Hann
    Aug 21, 2004
  3. Matt
    Replies:
    9
    Views:
    70,767
  4. Ole Streicher
    Replies:
    14
    Views:
    6,566
    Ole Streicher
    Jun 12, 2008
  5. Disc Magnet
    Replies:
    1
    Views:
    592
    123Jim
    Jun 22, 2010
Loading...

Share This Page