I am developing a Wordpress theme (Wordpress 2.5.1). I am adding the content from the former website at the moment. When I add an image to a post the image continues into the next post which makes things confusing and ugly. When you look at the news sections on the index you will understand what I mean. Images need to be aligned or float right but stay next to their post. They should not continue into the next post. How do I make that happen. When I align or float the image right it just ends in the next post. Just adding more text to make the post longer is not an option as you can understand.
I did add div.entry div { clear: both }, (advice from NexusNation) but then the entire entry doesn't float anymore, including NextGen galleries that I have added here and there. I need to clear my float, before the end of the div that contains the whole post. Any idea how I can do that? Maybe add another divider + the css Nexus gave me?
What you need to do is clear your float, before the end of the div that contains the whole post.
This should do the trick:
div.entry div { clear: both }
Start Free Trial