|
cssjunkie -> RE: Hopefully a simple CSS Problem! (6/16/2004 14:09:36)
|
I want to make a point about having a footer along with absolute columns. The fact is that each AP element (or "layer") is on a unique z-index level of its own and cannot interact with any other layer, period. BTW, z-index is not required for positioned elements, as they receive default z-index values based on source order that may be alterd manually via the z-index property. If you have columns that are all AP'd as layers, then there is no way a footer (AP or anything else) can know the spot where the longest col ends, and start there. It can't happen. It IS possible to use JS to aquire the screen height of the cols and feed that value to the footer as a "top" value, but only scripting makes this possible. In short, when a footer is needed in a pure CSS page, at least one of the cols must NOT be absolute, and that col must also be the longest one if the others ARE absolute, or the footer will overrun the taller AP cols. If the height of the cols can be pre-set with assurance that the height will not change, then yes, the footer may be set to an exact "top" value, but that rarely is possible since text resizing will always lengthen a page. True tableless design requires using "static" normally flowed cols and floated cols, which a footer can easily be made to stay below. Layers are great in certain circumstances but not generally for cols unless a footer is omitted. My main page does have two AP cols, but I have the footer within one of the cols.
|
|
|
|