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 specificity war. Try debugging
with this:
#left ul .item361 a span { display: none !important; }
or
#left ul li.item361 a span { display: none !important; }
If it disappears, you're at least hitting the right element. Remove the
!important and if it reappears then it's a specificity issue.
Not entirely sure what you're trying to do so I'm not sure if that helps...
hope it does though :)
cheers,
Ben

-- 
--- 
--- The future has arrived; it's just not
--- evenly distributed. - William Gibson


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

RE: [WSG] Span within a "li"

2009-05-11 Thread Jason Gray
How do you want to style this? Is the dot meant to be there???
If it's not meant to be there, check in the Joomla backend that the name for
the link does not include the dot.

Otherwise what people have said previously will work in terms of CSS
styling.


-Original Message-
From: li...@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 items and each has a 'class' attribute  
that reflects the item id, thus:

---







. Who Are We




Recent News





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
***



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




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



Re: [WSG] Span within a "li"

2009-05-11 Thread Simon Josephson

Thanks Christian, Mike, Adam and Ross

:((


As you suggested Mike, overly simplistic...  Still no 'uptake'

Here is the URL, look to the left and you will notice a menu item with  
a bullet (hardcoded) - Who Are We; this is item. Check it out with  
"firebug' etc


In advance thanks!!!

http://www.edmundrice.net/index.php


Simon


PS: I ended up with a string something like this... (ineffectual)
#left ul li item361 a:link span




Simon Josephson
...
a...@work



On 12/05/2009, at 1:16 AM, Adam Martin wrote:


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:

---








. Who Are We





Recent News





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
***





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



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 reflect the opinions of any entity other than the
author alone.


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



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: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***


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 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:

---







. Who Are We




Recent News





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
***



Re: [WSG] Span within a "li"

2009-05-11 Thread Christian Montoya
On Mon, May 11, 2009 at 10:33 AM, Simon Josephson
 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:
>
> ---
> 
> 
> 
> 
> 
> 
> 
> • Who Are We
> 
> 
> 
> 
> Recent News
> 
> 
> 
> 
> 
> 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'.

li.item361 span {
  [styles go here]
}


-- 
--
Christian Montoya
mappdev.com :: christianmontoya.net


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



[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:


---







• Who Are We




Recent News





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
***