On Wed, 23 Apr 2008 10:20:08 -0700, corey deep wrote: Re: http://www.thevenusflytrap.org/floating/html/example.html
> I am having great difficulty centering a floated element ( e.g. an image w/ > dropshadow > ). > The primary reason is the dimensions of this floated element are variable ( > a maximum > of 400px height and/or 400px width ) > > Is there is a css way to center a variable width element which contains a > float ? > to my knowledge the element needs to float, wrapping to fit the inside > element. > Does it have to be a float? I found the following idea[1] from the list Wiki[2] - recommended. [1] <http://www.solstice.co.il/2008-02-26/horizontally_centering_content_with_dynamic_width_in_css> [2] <http://css-discuss.incutio.com/?page=CenteringBlockElement> Cordially, David -- ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/