I need depending on some
Conditions to set the sizes of a layer and the table
For an explanation a question I shall guide a simple example:
< div id = "Layer1" style = " position:absolute; width:200px; height:115px; z-index:1; left: 12px; top: 71px " > </div>
< table border = "1" cellspacing = "0" cellpadding = "0" width = "400" height = "40" >
<tr>
< td width = "150" height = "40" > </td>
< td width = "250" height = "40" > </td>
</tr>
</table>
The sizes of layer Layer1 can I set in Java script:
layer1.style.width = 200
layer1.style.height = 300
Is it possible a similar way or another to set the sizes of the table
and each cell (<td>)?
To me simply does not approach to print the table with
"document.write", to set the necessary sizes.
Help, if may
Conditions to set the sizes of a layer and the table
For an explanation a question I shall guide a simple example:
< div id = "Layer1" style = " position:absolute; width:200px; height:115px; z-index:1; left: 12px; top: 71px " > </div>
< table border = "1" cellspacing = "0" cellpadding = "0" width = "400" height = "40" >
<tr>
< td width = "150" height = "40" > </td>
< td width = "250" height = "40" > </td>
</tr>
</table>
The sizes of layer Layer1 can I set in Java script:
layer1.style.width = 200
layer1.style.height = 300
Is it possible a similar way or another to set the sizes of the table
and each cell (<td>)?
To me simply does not approach to print the table with
"document.write", to set the necessary sizes.
Help, if may