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 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 item1">
</li>
<li class="item361">
<a href="/index.php?option=com_content&view=article&id=222&Itemid=361">
<span>. Who Are We</span>
</a>
</li>
<li class="item111">
<a href="/index.php?option=com_sectionex&view=category&id=1&Itemid=111">
<span>Recent News</span>
</a>
</li>
<li class="item359">
</li>
------------------------
etc etc


Does anyone have a suggestion as to how to style... JUST the li class  
of "item361" (the reference '361' is to a document and remains  
static)... the "span" of the "li" to ". Who Are We"?

Just the "span" within the "li" class "item361". Is it possible?

Note... only the 'item361'; not item111 or item359, nor 'current'.


Any feedback would be greatly appreciated.




Simon
............................................................................
........
a...@work







*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
*******************************************************************



*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
*******************************************************************

Reply via email to