So, it looks like I can’t really make an "image gallery" where images just flow left to right and top to bottom as soon as I add text below an image. I made the image class and the div with the image and text the same name because I wanted each to have a top and right margin. Figured that would keep everything aligned. Giving each a different seems to result in the same problem. Then, I gave the class a width the same as the images, figuring that would keep the text constrained within the width of the image, like you might do with an image and caption. As soon as I did that, the last image and text div refused to go to the right. I still wonder why that is.
So, looks like I need to use an unordered list. Too bad, because it makes it more difficult to add an image anywhere in the gallery without re-writing the whole list.
I did change the anchors in the main nav bar, not the side nav bar, to display inline. When I do that with the side nav bar, it messes up in Safari. I can fix the side nav bar with the HTML code for IE7, if that is a problem.
Thank you all. (You know, I am not trying to be argumentative, here; just trying to understand.)