CSS Question
CSS Question
Out of context: Reply #18
- Started
- Last post
- 29 Responses
- 1pxsolid0
what the hell is that website?
Anyway... it's called Absolutely Relative. Any absolute position will escape to the nearest 'relatively' positioned parent...
So add 'position: relative" to #main
#main {
position: relative;
background-color:#930;
width: 300px;
height: 300px;
}