Like I said, I'm still fighting my way through understanding CSS. Here's a little tid-bit I finally understand today. Had a bit of text that I wanted to have centered in a nav bar. "vertical-align: middle;" didn't seem to do anything. Found this article which said this:
the thing with vertical-align is that it's vertical aligning text according to the default line-height of the inline-text boxes. You can manipulate that by setting the line-height to the same height as your block, but this will only be effective if the line of text (link) does not wrap onto more than one line.
NOW it makes sense…
So if you had:
<div id="nav"><a href="#" class="centerme">Home</a></div>
Then:
#nav {
height: 25px;
line-height: 25px;
}
.centerme {
vertical-align: middle;
}
should do the trick…