clearing floats of images

Creating and modifying plugins.
Post Reply
MySchizoBuddy
Regular
Posts: 340
Joined: Sun Jun 12, 2005 5:28 am

clearing floats of images

Post by MySchizoBuddy »

One problem. whne u add images using teh manage images button. It allows you to post a caption as well. when u do the code it generates its perfect and all floats are cleared. but if u don't mention the caption then a simple image tag is entered and no float is cleared.
can it be changed so it spits out the same code as that with caption
Image
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: clearing floats of images

Post by garvinhicking »

I'd say to keep it simple, and instead add a "clear: both" tag to the .serendipity_entry containers.

Adding a wrapper around the <img> sounds unneeded to me and also blows up the HTML...

?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply