Home › Forums › CSS › WP, need different background for p and img › Re: WP, need different background for p and img
July 26, 2012 at 12:01 pm
#106832
Member
@wolfcry911, I’ll give that a try. If I can successfully get the images wrapped in divs instead of p’s, that would be great.
@Paulie_D, As far as I’m aware, everything in a wordpress post is wrapped in it’s own p tag. It’s true the post as a whole is wrapped in it’s own div, but each element inside is wrapped in a p tag including each paragraph and image. (images also have an img tag inside said p tag).