Home › Forums › CSS › Apply Background Color only on text › Re: Apply Background Color only on text
December 15, 2011 at 12:30 am
#92788
Member
I assume that it is mainly paragraphs coming after headers? If this is the case you could use this:
h1 + p {
clear: left;
}
Shown here: http://jsfiddle.net/sl1dr/Fxja2/