Re: [css-d] Putting an image before list item text

2015-06-27 Thread Tom Livingston
One other thing. If you know WHICH element will have that text,
consistently, you could use:

Element:nth-of-type


On Friday, June 26, 2015, Angela French afre...@sbctc.edu wrote:

 I'm trying to put a recycle bin icon before the text Recycle Bin on a
 SharePoint menu list item.   Is there a way to conditionally put the icon
 when the list item text is Recycle Bin?




 Angela French
 Internet Specialist
 State Board for Community and Technical Colleges
 360-704-4316
 afre...@sbctc.edu javascript:;mailto:afre...@sbctc.edu javascript:;
 www.checkoutacollege.comhttp://www.checkoutacollege.com
 www.sbctc.eduhttp://www.sbctc.edu

 __
 css-discuss [css-d@lists.css-discuss.org javascript:;]
 http://www.css-discuss.org/mailman/listinfo/css-d
 List wiki/FAQ -- http://css-discuss.incutio.com/
 List policies -- http://css-discuss.org/policies.html
 Supported by evolt.org -- http://www.evolt.org/help_support_evolt/



-- 

Tom Livingston | Senior Front End Developer | Media Logic |
ph: 518.456.3015x231 | fx: 518.456.4279 | medialogic.com


#663399
__
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Putting an image before list item text

2015-06-27 Thread MiB

jun 27 2015 00:54 Angela French afre...@sbctc.edu:

 I'm trying to put a recycle bin icon before the text Recycle Bin on a 
 SharePoint menu list item.   Is there a way to conditionally put the icon 
 when the list item text is Recycle Bin”?

Sounds like a server side problem to me.

__
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


[css-d] Putting an image before list item text

2015-06-26 Thread Angela French
I'm trying to put a recycle bin icon before the text Recycle Bin on a 
SharePoint menu list item.   Is there a way to conditionally put the icon when 
the list item text is Recycle Bin?




Angela French
Internet Specialist
State Board for Community and Technical Colleges
360-704-4316
afre...@sbctc.edumailto:afre...@sbctc.edu
www.checkoutacollege.comhttp://www.checkoutacollege.com
www.sbctc.eduhttp://www.sbctc.edu

__
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Putting an image before list item text

2015-06-26 Thread Tom Livingston
Not that I'm aware of. You could try something like:

$('label:contains('some text')').css('color','Lime')

Which is jQuery. Which is off topic for CSS-d...





On Friday, June 26, 2015, Angela French afre...@sbctc.edu wrote:

 I'm trying to put a recycle bin icon before the text Recycle Bin on a
 SharePoint menu list item.   Is there a way to conditionally put the icon
 when the list item text is Recycle Bin?




 Angela French
 Internet Specialist
 State Board for Community and Technical Colleges
 360-704-4316
 afre...@sbctc.edu javascript:;mailto:afre...@sbctc.edu javascript:;
 www.checkoutacollege.comhttp://www.checkoutacollege.com
 www.sbctc.eduhttp://www.sbctc.edu

 __
 css-discuss [css-d@lists.css-discuss.org javascript:;]
 http://www.css-discuss.org/mailman/listinfo/css-d
 List wiki/FAQ -- http://css-discuss.incutio.com/
 List policies -- http://css-discuss.org/policies.html
 Supported by evolt.org -- http://www.evolt.org/help_support_evolt/



-- 

Tom Livingston | Senior Front End Developer | Media Logic |
ph: 518.456.3015x231 | fx: 518.456.4279 | medialogic.com


#663399
__
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Putting an image before list item text

2015-06-26 Thread Roger Blanton
I agree with Tom. Pretty sure you can only check text with js.



—
Roger BlantonSent from my phone, please excuse the brevity.

On Fri, Jun 26, 2015 at 11:04 PM, Tom Livingston tom...@gmail.com wrote:

 Not that I'm aware of. You could try something like:
 $('label:contains('some text')').css('color','Lime')
 Which is jQuery. Which is off topic for CSS-d...
 On Friday, June 26, 2015, Angela French afre...@sbctc.edu wrote:
 I'm trying to put a recycle bin icon before the text Recycle Bin on a
 SharePoint menu list item.   Is there a way to conditionally put the icon
 when the list item text is Recycle Bin?




 Angela French
 Internet Specialist
 State Board for Community and Technical Colleges
 360-704-4316
 afre...@sbctc.edu javascript:;mailto:afre...@sbctc.edu javascript:;
 www.checkoutacollege.comhttp://www.checkoutacollege.com
 www.sbctc.eduhttp://www.sbctc.edu

 __
 css-discuss [css-d@lists.css-discuss.org javascript:;]
 http://www.css-discuss.org/mailman/listinfo/css-d
 List wiki/FAQ -- http://css-discuss.incutio.com/
 List policies -- http://css-discuss.org/policies.html
 Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

 -- 
 Tom Livingston | Senior Front End Developer | Media Logic |
 ph: 518.456.3015x231 | fx: 518.456.4279 | medialogic.com
 #663399
 __
 css-discuss [css-d@lists.css-discuss.org]
 http://www.css-discuss.org/mailman/listinfo/css-d
 List wiki/FAQ -- http://css-discuss.incutio.com/
 List policies -- http://css-discuss.org/policies.html
 Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
__
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/