Wednesday, December 1, 2004, 11:26:58 AM, Jeremy Garrard wrote:
JG> I have three thumbnail images which I want to shrink wrap with a DIV to
JG> form a border. I also want the whole DIV centered I tried:
JG> <div id="ThumbFrame" style="text-align:center">
JG> <img blah/><img blah/><img blah/>
JG> </div>
Try this:
/* IE/win/mac */
#ThumbFrame {display:inline-block;}
#thumbFrameContainer {text-align:center;}
/* modern browsers */
* > #ThumbFrame {display:table-cell;}
* > #ThumbFrameContainer {display:table; margin:0 auto;}
Steve
--
http://mrclay.org/ * http://frenchhorns.mrclay.org/
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/