Home › Forums › CSS › Stretchable overlay › Re: Stretchable overlay
December 4, 2011 at 8:45 pm
#91866
Historical Forums User
Participant
First: thanks for responding.
Second: I need to adjust my question a bit, consider the #overlay is not positioned at 50% but relative to the container, so for example
#container {
margin : 0 auto;
width: 900px;
position:relative;
}
#overlay {
position:absolute;
right: 350px;
width: 9999px;
padding-right: 9999px;
}
PS. I didn’t know you could use a left and right position at the same time, thanks ;)