[wp-trac] [WordPress Trac] #26642: [caption] is 10px too wide

WordPress Trac noreply at wordpress.org
Tue Mar 18 18:42:58 UTC 2014


#26642: [caption] is 10px too wide
-------------------------+-----------------------
 Reporter:  Looimaster   |       Owner:
     Type:  enhancement  |      Status:  reopened
 Priority:  normal       |   Milestone:  3.9
Component:  Media        |     Version:  3.8
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+-----------------------

Comment (by azaozz):

 Replying to [comment:21 jond3r]:
 > I just thought about another option that maybe azaozz was looking for:
 Keep the inline style but don't add 10 px.

 Yes, exactly.

 Replying to [comment:22 obenland]:
 > Themes can use `display: table;` on centered captions.

 Ah, the "ancient" layout table. Yes, this solves the centered caption
 problem (as long as themes are OK with being incompatible with some
 browsers), but the bigger problem of wrapping caption text under the image
 still remains.

 Thinking we should do exactly what this ticket was opened for: remove the
 extra 10px but keep the inline stile as there's no good way to wrap the
 text under the image without it.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/26642#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list