On 7/05/2009, at 11:08 AM, Court Kizer wrote: > I have a thumbnail gallery composed of 200px by 200px thumbnails. > > I put them in a 80% wide DIV and allow them to reflow as the browser > resizes. > This works great. However I do NOT want it justified to the left. So > I put margin: 0 auto; on my 80% width div. >
It's a bit difficult without seeing an example, but I suspect you need to contain floats. There are a number of ways of doing this. One would be to set 'overflow: auto;' on the container. Have a look at this: http://snadden.com/sandbox/thumbnail.html Is that the kind of effect you were looking for? ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] 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/