Hi. I'm just learning html and css. My project is formatting an ebook, and it's looking pretty good so far. My challenge is in aligning the images. I have them each (60 images throughout the book) in a div which includes the caption. I'm trying to get them to align center. They're not all the same width, but none is over 550 px and 300 dpi. My wish is to have each caption also align center, and no wider than its image. Is this possible? I'm having tremendous problems!

Does it matter in what order I place the declarations within the stylesheet?

Here's the CSS I have so far (which isn't working!). I know I'm pasting in too much, but maybe something is conflicting with the pertinent parts.