Re: Division is resizing.
Shawn wrote:
>
> Hello,
>
> I'm trying to make a division with these dimensions:
>
> Height: 12px
> Width: 28px
>
> I want the background of the division to be red, but when I make it red,
> the division resizes to be bigger. (More height) Why is it doing this?
> I've tried using a 1px image of red to fill it, does the same thing as
> using the background-color property in CSS1. Any help would be
> appreciated, or if somebody could make it happen, i'm humbly awaiting some
> help. :)
>
> Thank you
I think that background-color behaviour is browser specific. Do you have
the same problem in Opera/IE/NS?
As an alternative, you might find the combined property
background: red;
to work more consistently.
Chris
--
www.ascent.zetnet.co.uk
Standards Compliant Web Design