View Single Post
  #5 (permalink)  
Old 02-22-2008, 03:52 AM
speed speed is online now
WebProWorld Veteran
 

Join Date: Aug 2003
Location: Cornwall, UK
Posts: 829
speed RepRank 1
Default Re: CSS to layout images

I'm not 100% certain I'm understanding what you want to create but anyway.

Create 3 <div>s 33% wide and all left floated. Then place your images within the divs.

On the left <div> add text-align: left, on the center text-align: center, and on the right text-align: right.

Alternatively, and this is what I think would be better, is to text-align: center on all the divs.

I've only used 3 images but if you have 10 images you'd use a width of 9.5% and so on.

Finally check the results in Firefox, IE6, IE7 etc.
__________________
TOLRA Micro Systems Limited US & UK Web Hosting with Continuous Data Protection
Web Directory : Web Directory Script
Reply With Quote