I've noticed a problem I have with images in my posts: they seem to go unnoticed to my CSS.

For example, I have a span tag that is adding a 100px margin to the top of itself under the last paragraph in each post. http://tinyurl.com/chbqyrz

But when an image is present the span tag seems to ignore the image as part of the paragraph content. There is no 100px margin created: http://tinyurl.com/btkt2lw

I'd usually say this is a CSS problem... but I think it may be a WP problem. Any thoughts?

link|improve this question

feedback

closed as off topic by Milo, t31os, kaiser, Chip Bennett, toscho Apr 7 at 20:44

Questions on WordPress - Stack Exchange are expected to generally relate to WordPress, within the scope defined in the faq.

1 Answer

up vote 1 down vote accepted

It's because you've floated your image on line 745 of your CSS.

You've cleared the span, but the margin property still won't if there's a floated element above...

Change the margin to padding, that should fix it..

link|improve this answer
feedback

Not the answer you're looking for? Browse other questions tagged or ask your own question.