Re: width and height

On Tue, Jan 25, 2011 at 9:52 AM, Bruno <bruno5544@gmail.com> wrote:
> Here you go:
>
> #css a:hover {
>        color:red;
>        background-color:blue;
>        height:100px;
>        width:400px;
> }
>
> Don't know how it works for you when I tested it on all major browsers
> and doesn't work on any.

Could you post the *whole* testcase?  HTML and the rest of the CSS?

You do realize that, by default, <a> is an inline element, and 'width'
and 'height' don't work on inline elements?

~TJ

Received on Tuesday, 25 January 2011 18:01:39 UTC