css - Make as wide as page -
Assume that I have CSS: --- Update --- Hey everyone, Thanks for all the answers I think I have a bit of your answer Make it easy to see some kind of visual description below. I hope it helps! Well both of you can set it if you have deployed it completely. This way you can still use padding directly on & lt; Div & gt; (
#container ) which is set to 960px for its width is
& lt; Div & gt; Inside , I have another
& lt; Div & gt; I want to make the (
#drawer ) page window as broad So basically, I have
and
& lt; Div & gt; which will be used by his parents
& lt; Div & gt; is more comprehensive:
& lt; Div id = "container" & gt; // Set 960 px & lt; Div id = "drawer" & gt; // I like it to be as wide as window & lt; / Div & gt; & Lt; / Div & gt;
#content {top: 200px; Status: Completed; Width: 940px; Padding-bottom: 100px; } # Drawer {???? }
#drawer if you want.
#container {top: 200px; Width: 940px; Padding-bottom: 100px; Background color: rgb (255,0,0); } #Drawer {Status: Absolute; Correct: 0 pixels; Left: 0px; Background color: rgb (0, 255,0); }
Comments
Post a Comment