I don't know about how good this code is or if it follows good form or w/e, but I more or less learned CSS from looking at the layouts on
this site. It has really barebones templates for a lot of the layouts people want and, although I can't tell entirely based on what you said, I think it has what you're trying to do. Either way it might be good to take a look so you can see some simple CSS in context.