View Single Post
Old 04-16-2014, 04:25 PM   #10
odedta
Addict
odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.
 
Posts: 398
Karma: 96448
Join Date: Dec 2013
Device: iPad
Quote:
Originally Posted by Nabodita View Post
Well, I'm still getting the image centered horizontally but not vertically. That's what I want really.
PHP Code:
displaytable-cell;
vertical-alignmiddle
That should do it.

If you're looking to center a div or an image vertically on screen you should use:
PHP Code:
margin-leftauto;
margin-rightauto
And not:
PHP Code:
text-aligncenter
@JLius: Correct, same result with less code
odedta is offline   Reply With Quote