N
Nicholas
Or, put the object into a CSS DIV that is just its size,
then an outer DIV with padding to position the object and
act as the layer.
Say the cell/layer is 100 px by 100px, the object is 10x10
and you want it centered.
<td>
<div 1> outer div, this is the layer you're changing, same
size as the cell/layer, background to obscure the layer
below, with top and left padding of 95 px. Vary the
padding to position the object.
<div 2> inner div, contains object and rollover code to
change the div 1 layer. Float left, probably.
</div>
</div>
</td>
Beware that Internet Explorer 5 has a broken box model and
this may or may not display correctly in IE5.
then an outer DIV with padding to position the object and
act as the layer.
Say the cell/layer is 100 px by 100px, the object is 10x10
and you want it centered.
<td>
<div 1> outer div, this is the layer you're changing, same
size as the cell/layer, background to obscure the layer
below, with top and left padding of 95 px. Vary the
padding to position the object.
<div 2> inner div, contains object and rollover code to
change the div 1 layer. Float left, probably.
</div>
</div>
</td>
Beware that Internet Explorer 5 has a broken box model and
this may or may not display correctly in IE5.