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
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
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
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
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
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