Hi All, i have tried to change an example showed in dynamicdrive.com, the example were saying "Left and Top Frames Layout"... I'm needing a "Top and Left Frames Layout", so i have tried to modify the code to get a 100% top row and leftmost column (X - TopRowSize)...
Everytime i get the top row that not fully fit the 100% of the page.
There's the link to the example and the code that i have modified:
http://www.dynamicdrive.com/style/la...-frames-layout
And obviously i have to make it function in IE7, at least...Code:body{ margin: 0; padding: 0; border: 0; overflow: hidden; height: 100%; max-height: 100%; } #framecontentTop, #framecontentLeft{ position: absolute; top: 0; left: 0; height: 200px; width: 100%; overflow: hidden; /*Disable scrollbars. Set to "scroll" to enable*/ background-color: navy; color: white; } #framecontentLeft{ top: 200px; /*Set top value to HeightOfTopFrameDiv*/ bottom: 0; height: auto; width: 220px; /*Width of left frame div*/ overflow: hidden; /*Disable scrollbars. Set to "scroll" to enable*/ background-color: green; color: white; } #maincontent{ position: fixed; left: 220px; /*Set left value to WidthOfLeftFrameDiv*/ top: 200px; /*Set top value to HeightOfTopFrameDiv*/ right: 0; bottom: 0; overflow: auto; background: #fff; } .innertube{ margin: 10px; /*Margins for inner DIV inside each DIV (to provide padding)*/ } * html body{ /*IE6 hack*/ padding: 200px 0 0 220px; /*Set value to (HeightOfTopFrameDiv 0 0 WidthOfLeftFrameDiv)*/ } * html #maincontent{ /*IE6 hack*/ height: 100%; width: 100%; } * html #framecontentLeft{ /*IE6 hack*/ height: 100%; }
Any suggestion plz? Thx



Reply With Quote





Bookmarks