Hey guys, quick question. From css, is there a way to target ONLY text in an li that has an img and text inside of it?
leroy green
0
Newbie Poster
Recommended Answers
Jump to Post<li><img src=... /> This is text</li>
You can style the whole li and then do something different with the img. Or wrap the text in a span tag and style that separately.
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.