[wp-trac] [WordPress Trac] #5828: floated left gallery images break blog layout

WordPress Trac wp-trac at lists.automattic.com
Tue Feb 12 18:17:21 GMT 2008


#5828: floated left gallery images break blog layout
------------------------+---------------------------------------------------
 Reporter:  nbachiyski  |       Owner:  anonymous        
     Type:  defect      |      Status:  new              
 Priority:  normal      |   Milestone:  2.5              
Component:  General     |     Version:                   
 Severity:  normal      |    Keywords:  gallery has-patch
------------------------+---------------------------------------------------
 Steps to reproduce:
 1. Use a theme, which doesn't clear the floats after the post content
 (there are many of them)
 2. Upload one photo
 3. Insert {{{[gallery]}}} in your post
 4. Save/Publish

 Current: the next section, after the photo is pulled on the left of the
 photo, on the same line

 Expected: the next section is below the photo

 Here is a patch, which adds {{{<br style="clear: both;" />}}} in the end
 of the gallery {{{div}}}.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5828>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list