Page MenuHomePhabricator

Centering images with thumbnail in Simple skin
Closed, InvalidPublic


Author: user.maxim

I'm having a problem centering images when it's a thumbnail when using the Simple skin:

It's fine without the thumbnail:

Now here's the kicker. The only browser I checked that in which this isn't a problem is IE. (Chrome, Opera, and Firefox are the other test browsers.)

Thanks a lot,


Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 10:55 PM
bzimport set Reference to bz20533.
bzimport added a subscriber: Unknown Object (MLST).

herd wrote:

monobook/main.css has:

/* emulate center */
.center {

	width: 100%;
	text-align: center;

*.center * {

	margin-left: auto;
	margin-right: auto;


simple/main.css only has: {

text-align: center;


The second bit is needed for this behavior.

chinchi29 wrote:

What about other skins? Should those rules be moved to shared.css?

This is invalid now that the legacy skins have been removed (Ia6d73c2d).