[wp-trac] [WordPress Trac] #6733: gallery html issue

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 15 08:20:58 GMT 2008


#6733: gallery html issue
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:  anonymous
     Type:  defect             |      Status:  new      
 Priority:  normal             |   Milestone:  2.5.1    
Component:  General            |     Version:  2.5      
 Severity:  normal             |    Keywords:           
-------------------------------+--------------------------------------------
 if you insert a floating div at the beginning of the content, and follow
 it with a gallery, it looks absolutely horrible. e.g.


 {{{
 <div style="float: left;">an author image</div>

 [gallery]
 }}}


 the best fix, I believe, would be to automatically insert the following
 before the gallery code:


 {{{
 <div style="clear: both;></div>
 }}}

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


More information about the wp-trac mailing list