By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,624 Members | 2,229 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,624 IT Pros & Developers. It's quick & easy.

Centering an image in a div

P: n/a
I'm having problems with using CSS to centre an image inside a div. At I would like
the thumbnails to be vertically and horizontally centered within the
'thumbnail_holder' div. Currently I can't get the images to centre
vertically. A friend suggested I need to use display:table-cell to get
vertical-align:middle to work but this still doesn't seem to work in
MSIE (Mozilla is OK). The CSS file is at

Any suggestion gratefully received (along with any comments on my
Stylesheet as it is so far)(or anything else about the page if you
fancy going a critique ;-) )


Remove nospam to reply
Jul 20 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.