
December 12th, 2002, 11:03 AM
|
|
Contributing User
|
|
Join Date: Nov 2001
Posts: 212
Time spent in forums: 2 h 42 m 35 sec
Reputation Power: 12
|
|
|
CSS Table Positioning
Does anybody know how I can do this? I've tried tons of different settings and I can't figure it out.
I want to position the layer with the small table based off the top left of my main table on my site, instead of absolute positioning from the top right of the browser. I want to center my entire page in the window but if I use absolute positioning it won't load in the right place for people with different resolutions.
Here are my current settings:
Code:
<div id="Layer1" style="position: absolute; left: 50; top:40;">
<table width="200">
<tr>
<td>small table over top of main table</td>
</tr>
</table>
</div>
<table width="700">
<tr>
<td>main table</td>
</tr>
</table>
</div>
Any help would be greatly appreciated.
|