| Actually, it's "just right" _if_ I maximize firefox _and_ don't have the bookmarks sidebar open. Otherwise, it needs to scroll sideways. Is that acceptable, or were you shooting for something that would adjust to the browser's width?
As far as centering stuff, one thing I've run across is this:
div {
width 100px; /* or whatever */
margin: auto;
align: justify;
}
So the div isn't wide enough to fill the screen (presumably); the browser will automatically put equal margins on either side - thus centering the div within the browser window; and text inside the div is justified left-and-right (you could also use left, center, or right for the text, as desired).
I think this works more-or-less in most browsers; some websites list additional hackage needed to get it just right under all browsers. Try googling? |