Re: [WSG] how come

2008-10-30 Thread [EMAIL PROTECTED]
在 Tue, 28 Oct 2008 05:20:09 +0800,kevin mcmonagle [EMAIL PROTECTED] 写道: hi, How come you cant change the list-type from none to circle(or anything else) on li a:hover? -kevin try this li { list-style-type:none; } li a { display:list-item; list-style-type:circle; } li a:hover {

Re: [WSG] how come

2008-10-30 Thread [EMAIL PROTECTED]
在 Tue, 28 Oct 2008 05:20:09 +0800,kevin mcmonagle [EMAIL PROTECTED] 写道: hi, How come you cant change the list-type from none to circle(or anything else) on li a:hover? -kevin try this li { list-style-type:none; } li a { display:list-item; list-style-type:circle; } li a:hover {

Re: [WSG] how come

2008-10-27 Thread Anthony Ziebell
Hi Kevin, The list-style-type (I assume that's what you meant) sets the list-item marker. So giving the anchor a list-style-type wouldn't effect the list-item. Cheers, Anthony. kevin mcmonagle wrote: hi, How come you cant change the list-type from none to circle(or anything else) on li

Re: [WSG] how come

2008-10-27 Thread kevin mcmonagle
The list-style appears on the li element. The selector li a:hover matches the a element, which isn't display: list-item and so can't have a list marker. Additionally, CSS provides no way to select an element based on its children, so you can't match the list item based on the hover state of a

Re: [WSG] how come

2008-10-27 Thread Brett Patterson
Have you tried: ul li:hover { list-style-type: circle; } On Mon, Oct 27, 2008 at 6:04 PM, kevin mcmonagle [EMAIL PROTECTED] wrote: The list-style appears on the li element. The selector li a:hover matches the a element, which isn't display: list-item and so can't have a list marker.