[css-d] 1px Div Height in IE

2005-08-07 Thread matt-nc
I'm using a div that is 1px in height with a background color to produce a line of color on a page. It works great in everything except IE, which produces a bar of color that is about 10px high. I have tried height, line-height, font-size, of 1px to try to get it smaller but can't get it down

Re: [css-d] 1px Div Height in IE

2005-08-07 Thread Richard Grevers
On 8/8/05, matt-nc <[EMAIL PROTECTED]> wrote: > I'm using a div that is 1px in height with a background color to produce a > line of color on a page. It works great in everything except IE, which > produces a bar of color that is about 10px high. > > I have tried height, line-height, font-size, o

Re: [css-d] 1px Div Height in IE

2005-08-07 Thread Jan Brasna
As I recall there is a simple solution to this. Can someone enlighten me? Maybe overflow: hidden ? -- Jan Brasna aka JohnyB :: www.alphanumeric.cz | www.janbrasna.com __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org

Re: [css-d] 1px Div Height in IE

2005-08-08 Thread Christian Heilmann
On 8/8/05, Jan Brasna <[EMAIL PROTECTED]> wrote: > > As I recall there is a simple solution to this. Can someone enlighten me? > > Maybe overflow: hidden ? Or use a background image or a border. Why add markup for a visual aid? If you want a break in the text, use an HR: http://www.sovavsiti.cz

Re: [css-d] 1px Div Height in IE

2005-08-08 Thread Alex Leonard
Christian Heilmann wrote: On 8/8/05, Jan Brasna <[EMAIL PROTECTED]> wrote: As I recall there is a simple solution to this. Can someone enlighten me? Maybe overflow: hidden ? yes, can you explain why you arent doing this with a border colour, or maybe send a link example? A

Re: [css-d] 1px Div Height in IE

2005-08-08 Thread matt-nc
At 08:32 AM 8/8/05 +0100, Christian Heilmann wrote: Or use a background image or a border. Why add markup for a visual aid? If you want a break in the text, use an HR: http://www.sovavsiti.cz/css/hr.html As I recall, I had the same problem with HRs in IE, couldn't get them narrower than 2px o