What browser are you using? Also, does your HTML file have a full doctype so the browser is working in Standards mode, and are the background colors added using CSS or the bgcolor HTMl attribute?
You'll find that mixing CSS and presentational HTML together doesn't jive in a lot of browsers. Especially Internet Explorer. Could you post your CSS and HTML?