Center images

Center images
1
*****
Last updated Sep 20 2006
56 installs this week, 14253 total.

Horizontally centers image-only "pages".

Before
After

Install options

Feedback

Reviews

3DMC said on Feb 27 2009

PERFECT SYMMETRICAL *****

Heisenberg's Cat said on Jan 15 2009

There's a way to center it vertically too.

http://userstyles.org/styles/13805 *****

saikobee said on Dec 24 2008

Love it... a vertical align would be cool, too, though!
And if you could remove the small empty space border around images. ****

luckymouse said on Oct 25 2008

Simple but very appreciated. *****

Rowbin said on Oct 06 2008

Works perfect and looks great. Possibly stole the idea from Opera? ;) *****

myf said on May 26 2008

This style sparked off several derived userstyles:
http://userstyles.org/styles/search/Center%20images?category=global *****

Douglas Elias said on May 08 2008

very good :) *****

rude-dude said on May 01 2008

another brilliant idea like the blue about:blank page.
love it! *****

dedushka said on Dec 23 2007

it's great, thx! *****

FatJohn said on Sep 18 2007

I'd also very much like to change the background color but don't know how to.

It's great. Love it. Thanks a lot np! *****

JuanBR said on Jul 03 2007

very good :) *****

THiC said on Jun 30 2007

Nice Work. *****

Dawudd said on Jan 23 2007

Any way to do this for SVG images? *****

Mickey said on Dec 24 2006

This is one of my favourite styles, I can honestly say that I cannot live without it.

But can anybody tell me how to make it center the images vertically as well? I tried to find a way myself, but obviously wasn't successful. *****

J.K. said on Dec 19 2006

Really enjoy this - Thanks! *****

ron said on Dec 19 2006

can anyone help how to center vertically too? and change background color to a nice grey? *****

ERlack$ said on Nov 19 2006

How can we change bg color? *****

troubled said on Nov 15 2006

works like magic *****

elder_ozone said on Sep 28 2006

Awesome. Would it be possible to vertically align too? *****

pile0nades said on May 13 2006

This is awesome! I have filed a bug to include this: https://bugzilla.mozilla.org/show_bug.cgi?id=337882 *****

timendum said on Mar 24 2006

:) ****

Paweł Kubisz said on Mar 17 2006

grrrr8! - I think this should be part of resource://gre/res/html.css - but I'm not sure about selector "HTML > BODY:only-child " - dunno why but this "<html><body><img src="some_picture.jpg"></body></html>" is interpreted by browser as "<html><head></head><body><img src="some_picture.jpg"></body></html>" so this selector "body > img:only-child " is absolutely enough - I have modified my resource://gre/res/html.css *****

Discussions

Start a new discussion

Try KallOut Accelerators for Firefox

Mail the admin.