That didn't work, it did introduce a gap between each but didn't centre the
images.

-----Original Message-----
From: Ricky Zhou [mailto:[EMAIL PROTECTED] 
Sent: 09 May 2007 22:36
To: James Smith
Cc: CSS Discuss
Subject: Re: [css-d] Centering a div

James Smith wrote:
> If you look at 
> http://dev.jaysphotography.org.uk/index.cfm/page/images/ you will see 
> thumbnails at the top of the page.  No matter how hard I try I can't 
> get these to the centre of the page and I have tried all of the normal
tricks.
Since the images are floated, it's somewhat difficult to center them.
If you don't mind having a small space between them (which I think looks
better anyway), you can remove float: left; from #Thumbs img and set #Thumbs
{ text-align: center; }.

Hope this helps,
Ricky



______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- 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/

Reply via email to