-
layer divs inside cells?
I’ve got a site I’ve designed with tables. The page is liquid in that it always stays centered, buy using a combinatin of a table inside another single celled table which is 100% wide and high, with a middle alignment.
However, now I need to add a layer into one of the cells and have it stay in place as you scale the browser window. All I’ve done, without the right code brackets is place this code within the TD tag…
[div id=”Layer1″ style=”position:relative; left:10px; top:260px; width:308px; height 40px; z-index:1″]Here’s some content[/div]
And when I do that, it does put the layer in the right spot and it moves perfectly with the scaling of the window/cell, but it also adds a blank area to the cell at the top, equal to the height of the layer. If I make the layer height 0 or empty, then the blank area at the top of the cell increases with the height of the content I put in the layer.
Any ideas?