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.
|