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

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

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

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