Targetting spans inside elements
-
Hi there,
i’m trying to target spans inside a p element. This is the case:
my .p has a margin-top of 0.313em.
my custom styles (created with TinyMCE) are placed in a span within the p tags. But I want my custom style custom-green-title to have a different margin-top.
So I have to target a span within a p tag. How to I do that? I’ve tried a number of things:
custom-green-title.p {custom:style;}
.p, custom-green-title {custom:style;}
p custom-green-titele {custom:style;}
And a lot moreAAAAAh. I can’t get it to work, can you? 😉
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘Targetting spans inside elements’ is closed to new replies.