...

View Full Version : Make DIVLayer determine size of table



CyberScout
02-19-2003, 05:16 PM
Ok, I have placed a DIV Layer inside a table.

<table>
<tr>
<td>
<div id="Layer1" style="position:absolute; width:200px; height:115px; z-index:1"></div>
</td>
</tr>
</table>

I have multiple Layers inside this table, so is there a way I can have each layer change the size of the table depending on which one is being shown?

An example of the page I am working on can be found here:

http://www1.hfs.psu.edu/EastView/constructionTEST/default.stm

Thanks in advance
CyberScout

Roy Sinclair
02-20-2003, 07:01 PM
When you use position:absolute on an item it is no longer contained "within" the table and thus changes to it's size have no effect on the table.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum