Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS WP, need different background for p and img Re: WP, need different background for p and img

#106832
Ranger
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).