Mike Kear asked:
>>
>> I'm building a site with a navigation button stack in the left
>> column, and I'm trying to figure out how to make the whole button
>> active.  I know I've seen it happening somewhere but I can't find
>> an example right now.   Can anyone show me how that is achieved?
>>
>>
Christian Bradford replied:
> I believe what you might be missing is a specified width for the
> anchor tags to fill the buttons. Your stylesheet's "ul.menu li a",
> or equivalent, needs a "width: 100%;" added.
>
Mike, Christian is correct that, for IE to make the whole button
"clickable" it needs a dimension. If you don't want a 100% width
you can also give (IE Win only) a height, using the "star html hack"
and the "backslash comment hack" to hide it from IE Mac, viz:

/* for IE Win only \*/
 * html #yournav a {height: 1em;}
/* stop hiding from Mac */

IE Win will (wrongly) increase the height if necessary.

Cordially,
David
--
David Hucklesby, on 7/30/2005
<http://www.hucklesby.com/>
--


******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to