



Horizontally centers image-only "pages".
Before
|
After
|
PERFECT SYMMETRICAL
There's a way to center it vertically too.
Love it... a vertical align would be cool, too, though!
And if you could remove the small empty space border around images.
Simple but very appreciated.
Works perfect and looks great. Possibly stole the idea from Opera? ;)
This style sparked off several derived userstyles:
http://userstyles.org/styles/search/Center%20images?category=global
very good :)
another brilliant idea like the blue about:blank page.
love it!
it's great, thx!
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!
very good :)
Nice Work.
Any way to do this for SVG images?
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.
Really enjoy this - Thanks!
can anyone help how to center vertically too? and change background color to a nice grey?
How can we change bg color?
works like magic
Awesome. Would it be possible to vertically align too?
This is awesome! I have filed a bug to include this: https://bugzilla.mozilla.org/show_bug.cgi?id=337882
:)
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