Gunlaug Sørtun wrote: > Indranil Dasgupta wrote: > > >> http://www.psdspy.com/britney_spears/1487.html >> > > >> I need the shadowed image to be aligned in the center, but can't seem >> to find a way to do it. Maybe because the container is float: left; >> Can someone please help me. >> > > Use ordinary block-centering. > > Add / adjust to... > > #preview_pic {margin: 10px auto; float: none; display: table; width: 1%;} > #preview_pic img {display: block;} > > ...and it won't be too far off from center. > > It'll work in _all_ standard-compliant browsers and in IE6, as the > screenshot shows... > > <http://www.gunlaug.no/tos/alien/bsc.png> > > ...but somehow I'm not sure if IE7 will behave itself. Someone else will > have to check that. > > regards > Georg > I bow before you! Thank you! ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/