The fact that you can wrap a block element with A doesn't mean you can nest
A in a UL. Also as far as I know, most current browsers have big issues
concerning the rendering of such scenarios which should make you think twice
about attempting this.

Anyway - I  can think f no scenario where Arian's solution won't cut it.

If you must, you can always use delegation with 'a ! li'

On Sun, May 1, 2011 at 11:09 PM, Sanford Whiteman <
[email protected]> wrote:

> In HTML5, LIs can now be children of As.
>
> So if you were going to use the entire innerHTML of the LI as the link
> anyway, might as well wrap the A around the LI, then presto-clicko.
>
> -- S.
>
>


-- 
Arieh Glazer
אריה גלזר
052-5348-561
http://www.arieh.co.il
http://www.link-wd.co.il

Reply via email to