php_hazard_01
12-19-2007, 05:53 PM
is this possible, i have this layout, much like at http://www.cssplay.co.uk fixed layouts..but the content inside is not position:fixed.
--------------------------------
header
--------------------------------
submenu
--------------------------------
|
content 1 | content 2
|
|
--------------------------------
footer
--------------------------------
the header to the bottom of the content is position fixed, seperately with the footer, width fixed top bottom, left and right values. now my problem lies within the content, the submenu is collapsible thus the content must move upward. now the text, or elements inside content 2 must have an overflow:auto value, they must not exceed the page's fixed view (they must not overflow from the content 2 box)
meaning the elements inside the content 2 dynamically fits the content 2s container, on different resolutions..
the solutions i've tried, position:fixed on all elements - this will leave out the collapsible submenu to have extra space with the header and content
height:60%/40% on container 2 child elements - this did manage the closest result. but an excess of 10% height is appliad at the bottom, which i dont know where it came from, suspecting from the 100% height of the parent element
the same problem applies with content 1.
I used Firefox with this...GO firefox..
if you dont understand what i just said, please...i will explain it a little better...just give me an idea or a link to what you think is the solution....
--------------------------------
header
--------------------------------
submenu
--------------------------------
|
content 1 | content 2
|
|
--------------------------------
footer
--------------------------------
the header to the bottom of the content is position fixed, seperately with the footer, width fixed top bottom, left and right values. now my problem lies within the content, the submenu is collapsible thus the content must move upward. now the text, or elements inside content 2 must have an overflow:auto value, they must not exceed the page's fixed view (they must not overflow from the content 2 box)
meaning the elements inside the content 2 dynamically fits the content 2s container, on different resolutions..
the solutions i've tried, position:fixed on all elements - this will leave out the collapsible submenu to have extra space with the header and content
height:60%/40% on container 2 child elements - this did manage the closest result. but an excess of 10% height is appliad at the bottom, which i dont know where it came from, suspecting from the 100% height of the parent element
the same problem applies with content 1.
I used Firefox with this...GO firefox..
if you dont understand what i just said, please...i will explain it a little better...just give me an idea or a link to what you think is the solution....