[wp-trac] [WordPress Trac] #26642: HTML5 captions
WordPress Trac
noreply at wordpress.org
Wed Apr 2 19:08:43 UTC 2014
#26642: HTML5 captions
----------------------------+-----------------------
Reporter: Looimaster | Owner:
Type: task (blessed) | Status: reopened
Priority: normal | Milestone: 3.9
Component: Media | Version: 3.8
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
----------------------------+-----------------------
Comment (by afercia):
> but the bigger problem of wrapping caption text under the image still
remains.
you may want to try with `display: table-caption;` and `caption-side:
bottom;` applied to the caption, it will work as long as the caption
container will have `display: table;
Themes can use the same solution. Added bonus: just switching to `caption-
side: top;` will display the caption on top.
see http://jsfiddle.net/6XZkN/
attached a .zip with a simple html to be tested on a local server
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26642#comment:35>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list