View Single Post
  #3 (permalink)  
Old 02-21-2008, 05:29 PM
darren13's Avatar
darren13 darren13 is offline
WebProWorld Pro
 

Join Date: Jul 2003
Location: UK
Posts: 212
darren13 RepRank 0
Default Re: CSS to layout images

Hi James,

Sorry, I'm a bit lost there -

What I'd like to do, is have however many images are placed horizontally formatted to 'justified' so that the left-most image appears with it's left side on the left margin of the container and the right-most image appears with it's right side on the right margin of the 'container'. The images in the middle should be spread evenly. Pretty much the same as justified text really, but with images.

The trouble I have is that the image on the right, is not pushing all the way to the right. I've tried floating the images and setting different attributes such as -

text-align: justify;
float: left;
float: justify;

- but with no luck. I'm seriously thinking I might just have to go back to tables on this one - I'm either missing something, or CSS can't justify images. Hopefully it's the first one, as I'd really like to do this with CSS.

Any help would be great guys!

Darren.
Reply With Quote