Information
I get lots of emails asking how to vertically and horizontally align images within outer containers when the image size is unknown.
Well this is one answer that works in IE5.x, IE6, IE7, IE8, Firefox, Opera, Mozilla, Safari(PC) and Google Chrome, but does require two different styles, one for IE 5, 6 and 7 and the other for non-IE browsers and IE8.
IE 5, 6 and 7 uses inline-blocks and non-IE browsers use table-cell and vertical-align to emulate the table method.
Copyright
You may use this method on your personal 'non-profit' web site without seeking my permission. A link back to CSSplay is always appreciated.
Commercial usage is also permitted without seeking approval, but I would ask that a donation is considered to support my work on CSSPlay.
If you are having problems integrating any of my demonstrations into your website then I now offer a service to fault find and correct any errors that you may have introduced. Please email me for more information.
CSS play Recommend
- Online PR-Portal Social Media News
Our Press releases you can read on OA News - Pretronics UK
Pre Press Servicing - Web Hosting
Plans start at only $2.99/month - Website Design
- Leading digital agency
Search & social experts to increase traffic - Myspace layouts and counter
Lyrics, polls, images & backgrounds -Free! - Register Domain Name
- Phuket guide
A complete guide to Phuket - Northstar Hire
Pre book private car hire, Gloucester UK - Web Banner Design
Unique designs from $20 - web designer
- SEO
- wholesale
- SEO
Free SEO Analysis From SEO Consult - www.thai.se
Thailand guide






