[WSG] Span within a li

2009-05-11 Thread Simon Josephson
hi guys I am stumped with this - I have a menu list that is generated out of a database; the menu has several items and each has a 'class' attribute that reflects the item id, thus: --- div id=left div class=moduletablemain_er ul class=menu li id=current class=active

Re: [WSG] Span within a li

2009-05-11 Thread Christian Montoya
On Mon, May 11, 2009 at 10:33 AM, Simon Josephson si...@artatwork.com.au wrote: hi guys I am stumped with this - I have a menu list that is generated out of a database; the menu has several items and each has a 'class' attribute that reflects the item id, thus: --- div

RE: [WSG] Span within a li

2009-05-11 Thread Adam Martin
li.item361 span { background: red; } -Original Message- From: li...@webstandardsgroup.org [mailto:li...@webstandardsgroup.org] On Behalf Of Simon Josephson Sent: 11 May 2009 15:33 To: wsg@webstandardsgroup.org Subject: [WSG] Span within a li hi guys I am stumped with this - I

RE: [WSG] Span within a li

2009-05-11 Thread michael.brockington
There must be more to this than what you have said, because: Li.item361 a span { what:ever; } Should work okay, indeed is probably too verbose/explicit. Mike Mike Brockington Web Development Specialist www.calcResult.com www.stephanieBlakey.me.uk www.edinburgh.gov.uk This message does not

Re: [WSG] Span within a li

2009-05-11 Thread Ross Bruniges
.item361 span Just the span within the li class item361. Is it possible? Note... only the 'item361'; not item111 or item359, nor 'current'. *** List Guidelines:

Re: [WSG] Span within a li

2009-05-11 Thread Simon Josephson
: li.item361 span { background: red; } -Original Message- From: li...@webstandardsgroup.org [mailto:li...@webstandardsgroup.org] On Behalf Of Simon Josephson Sent: 11 May 2009 15:33 To: wsg@webstandardsgroup.org Subject: [WSG] Span within a li hi guys I am stumped with this - I have

Re: [WSG] Span within a li

2009-05-11 Thread Cal Wilson
Hi Simon, Looks like you need a more specific selector: #left ul li.item361 span {background:red;} does the trick :) HTH cal. -- Cal Wilson c...@oxygenkiosk.com Phone: 0404 449 464 Web: http://oxygenkiosk.com On 12/05/2009, at 7:33 AM, Simon Josephson wrote: item361

RE: [WSG] Span within a li

2009-05-11 Thread Jason Gray
...@webstandardsgroup.org [mailto:li...@webstandardsgroup.org] On Behalf Of Simon Josephson Sent: Tuesday, 12 May 2009 12:33 AM To: wsg@webstandardsgroup.org Subject: [WSG] Span within a li hi guys I am stumped with this - I have a menu list that is generated out of a database; the menu has several

Re: [WSG] Span within a li

2009-05-11 Thread Ben Buchanan
PS: I ended up with a string something like this... (ineffectual) #left ul li item361 a:link span If tha'ts the actual string you have two issues 1) Missing dot for .item361, so it's not combining with the li 2) you're only styling unvisited links Also it sounds like your selector is losing a