No replies
Nono
Nono's picture
Offline
Regular
Iasi, Romania
Last seen: 1 year 42 weeks ago
Iasi, Romania
Timezone: GMT+3
Joined: 2011-03-10
Posts: 23
Points: 42

Hi,

I have a rule:

p {
margin-left:10%;
margin-right:20%;
}

The wordpress puts the images inside p tags and I have the next code generated

This shrinks the picture too.

I tried
p:not(img){
margin-left:10%;
margin-right:20%;
}

But it does not seems to work.

I put
p > img {
max-width:130%;
}
But is not aligned right.

Thank you.