Previous Message
Next Message

absolute positioning

Sent by David Sharp on 23 November 2004 03:03


> >> Oh i see what you mean about the hover, a, and IE.
> >> Is there a way to make the whole 'button' clickable. ie getting the
> >> display: block; to work in IE?
> >>
> >> Many Thanks
> >> Jack


> Do you mean the following?
> ul.nav a
> {
> color: rgb(220,220,220);
> text-decoration: none;
> display: block;
> width: 8em;
> }
> Because that will work in FF but not IE.

Check out the very excellent "Taming Lists" by Mark Newhouse -
http://www.alistapart.com/articles/taminglists/
His solution is to set a width of 100% for the anchor block. Then use the
child selector ">" to reset the width to "auto" for other browsers.
I assume this workaround is still current...

Cheers,
David Sharp


> ______________________________________________________________________
> css-discuss [EMAIL-REMOVED]]
> http://www.css-discuss.org/mailman/listinfo/css-d
> List wiki/FAQ -- http://css-discuss.incutio.com/
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: