Center the div by setting a width and then a margin of half.

div#thumbs{width: 20%; margin-left: 40%;}


Sandra Clark
=============
http://www.shayna.com
Training and Consulting  in CSS and Accessibility
Team Fusebox


-----Original Message-----
From: James Smith [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 09, 2007 12:04 PM
To: CF-Community
Subject: Centring stuff with CSS

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.

What am I doing wrong!

I have currently removed all of the centring code I tried since none of it
worked anyway.

I am clearly a no-hoper when it comes to CSS!

--
Jay





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Community/message.cfm/messageid:234256
Subscription: http://www.houseoffusion.com/groups/CF-Community/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5

Reply via email to