Store's thumbnail images are not uniform in size - how do you go about vertically centering them via CSS?
Announcement
Collapse
No announcement yet.
Vertically centering thumbnail images
Collapse
X
-
Vertically centering thumbnail images
Leslie Kirk
Miva Certified Developer
Miva Merchant Specialist since 1997
Previously of Webs Your Way (aka Leslie Nord leslienord)
Email me: [email protected]
www.lesliekirk.com
Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr
Tags: None
-
Try this and of course replace with correct values
div{ height:150px; //IE7fix line-height: 150px; } img{ vertical-align: middle; margin-bottom:0.25em; }Andreas Toman
PCINET, LLC
Miva Merchant Design, Development, Integration & Support
We built over 200 Miva Merchant stores!
Miva shopping cart design & integration service and see our Portfolio!
e-mail: [email protected]
web: www.pcinet.com
LinkedIn: Andreas Toman
phone: (786) 250-2056 (Miami, FL)
Comment