Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > can't get rid of 1px bar in IE

Reply
Thread Tools

can't get rid of 1px bar in IE

 
 
ojorus
Guest
Posts: n/a
 
      04-13-2007
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



 
Reply With Quote
 
 
 
 
Els
Guest
Posts: n/a
 
      04-13-2007
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/
 
Reply With Quote
 
 
 
 
ojorus
Guest
Posts: n/a
 
      04-13-2007
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/



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why 'display: inline' and 'padding-bottom: 1px' is bad for makingtabs? Disc Magnet HTML 1 06-22-2010 09:45 AM
1px line between table rows (css/IE/Moz) Ole Streicher HTML 14 06-12-2008 07:00 AM
disable title bar, status bar, and address bar of a window Matt HTML 9 08-23-2004 07:49 PM
Re: disable title bar, status bar, and address bar of a browser window John Hann ASP .Net 0 08-21-2004 05:07 AM
disable title bar, status bar, and address bar of a browser window Matt ASP .Net 0 08-21-2004 03:50 AM



Advertisments