I'm trying to expand this div across with width of the browser. I've read from
here
that you can use {position:absolute; left: 0; right:0;}
to achieve that as in the jsfiddle here:
http://jsfiddle.net/bJbgJ/3/
But the problem is that my current #container
has a {position:relative;}
property, and hence if I apply {position:absolute}
to the child div, it would only refer to #container
. Is there a way to still extend my child div beyond the #container
?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…