div within a div and inherting the height
I'm making my first site using css. I'm breaking the old habit of using tables. I have a question.
I have divs within divs. I have a div that is set to 500px high. I'm trying to place 2 divs with in the previously mentioned div. 1 div will have a different bg color and will be for secondary nav. the other div is for content. I try to set the secondnav div to 100%, but it overflows.
Does anyone have any suggestions?
|