Page MenuHomePhabricator

in printable version centered images are not centered
Closed, ResolvedPublic

Description

An image inserted as [[File:Example.jpg|thumb|center]] doesn't appear in the center in the printable version (&printable=yes). Images aligned to "right" or "left" work correctly.


Version: 1.18.x
Severity: normal
URL: http://en.wikipedia.org/wiki/?oldid=424368943&printable=yes&useskin=vector

Details

Reference
bz28573

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 11:29 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz28573.

http://en.wikipedia.org/wiki/?oldid=424368943&useskin=vector
http://en.wikipedia.org/wiki/?oldid=424368943&useskin=vector&printable=yes

There are a few skins that show all images on the left side. None of the skins I tried show the center in the center.

The markup/classes/etc. seems about the same between the 2 pages, this must be a problem with styling. (or with a stylesheet being left out)

As a temporary workaround i added this to Print.css in he.wp:

div.center {

text-align: center;

}

It more or less works, but see Bug 28593 .

*Bulk BZ change: -bugsmash from closed bugs. (7 Bugs)*