Reputation: 2747
The above snippet renders the way I intend it in Chrome (v.20). However in Firefox 11 and IE 9 the 2nd and 3rd content divs do not appear to take into account top and left CSS values.
What is the correct method of relative positioning with percentage widths?
Upvotes: 1
Views: 5513
Reputation: 134
I your case container doesn't have height. You can use this:
body, html {
min-height: 100%;
height: 100%;
}
Upvotes: 3