We have a band web site. Here's the site now:
http://www.risky-biz.com
The home page has a "collage" of photos of the members of the band.
The collage is actually one .gif image that I put together. But now
we've added a ninth band member so I have to change it completely. On
top of that, some of the guys have wanted their photos changed in the
past.
I'd like to use CSS to position 9 separate photos when I redo it. This
will allow me to change it a lot more easily in the future. I'm pretty
sure I can figure out how to do it, by creating 9 separate IDs to
place the photos. In the present home page, there are "shadows" behind
the pictures, which I like. I imagine that even that is possible,
using images that are just shadows set to a lower z-index.
But how can I center the whole collage in the browser window? If I use
percentages, I can center it, but the arrangement changes with the
browser width. If I use pixel positioning, I can get the collage the
way I want it, but it will be some fixed distance from the left edge,
rather than centered.
I figure that I can encase the whole thing in a table and center that.
Is there another way?
Greg Guarino