Usafenverve
New Member
hi everyone i need to codec admin panelfor new cms.there are 3 main divs.\[code\]header\[/code\] which is not fixed.\[code\]sidebar\[/code\] that is on the right side of the screen\[code\]content\[/code\] that is on the right of the sidebarhere is picture to describe the issue:http://i.stack.imgur.com/gLKN7.pnghow should i do it?i am kind of lostwell i tried to do something like this: \[code\]#main { height: 100%; } #header { width: 100%; height: 43px; position:absolute; z-index: 2; } #layer2 { position: absolute; z-index: 1; width: 100%; float: right; margin-top: 43px; } #content { margin-right: 224px; } #sidebar { float: right; width: 224px; min-height: 100%; margin-right: -100%; } \[/code\]and html:\[code\]<div id="main"> <div id="header>HEADER</div> <div id="layer2"> <div id="content"> content </div> <div id="sidebar"> sidebar </div> </div></div>\[/code\]