[wp-trac] [WordPress Trac] #14380: Caption shortcode inserts inline style forcing width of containing div

WordPress Trac wp-trac at lists.automattic.com
Mon Mar 7 23:14:38 UTC 2011


#14380: Caption shortcode inserts inline style forcing width of containing div
-----------------------------------------------+---------------------------
 Reporter:  iandunn                            |       Owner:  nacin
     Type:  defect (bug)                       |      Status:  accepted
 Priority:  normal                             |   Milestone:  Future
Component:  Shortcodes                         |  Release
 Severity:  minor                              |     Version:
 Keywords:  has-patch needs-testing 3.2-early  |  Resolution:
-----------------------------------------------+---------------------------

Comment (by smerriman):

 The inline width is necessary. The point of using an inline width is to
 allow captions which are wider than the image itself to wrap. There is no
 way to accomplish this with CSS alone if you get rid of the inline style.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14380#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list