> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> discuss.org] On Behalf Of linojon
> Sent: Tuesday, March 11, 2008 9:27 PM
> To: css-d@lists.css-discuss.org
> Subject: [css-d] forcing an entire <li> to be a link
> 
> Here's a demo of my problem http://www.parkerhill.com/hover-test.html
> 
> When this page is viewed in Firefox or Safari, and you hover over any
> of the list items, you can link to the 'overlaid' link. But in IE7,
> you must only hover over whitespace to have a link; if you hover over
> text it wants you to select text. Changing the order of elements, or
> using nested div's doesnt seem to help.
> 
> Is there a way to force IE to make the entire <li> a link?
> or a better way to accomplish this that works in all browsers?
> (and preferably without using javascript)

Try this:

a.selectable {background:url(nada);}

You can use a transparent gif if you want, but it is not necessary


-- 
Regards,
Thierry | http://www.TJKDesign.com




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

Reply via email to