I'm having trouble with css. every time i set the background-color in the css for a div It changes the whole page to that color. Is there an(attribute?) to set just the inside color of my box? I'm trying to create rounded-corner boxes of different shapes and colors for a webpage. I can get the rounded corners and colored borders but the color inside the box eludes me.
here is the css and html I quick-coded in notepad: