@WebJoelJul 17.2007 — #For what purpose do you need to create an element with a stated width that needs to be 'invisible'? [I]visible="false"[/I] is not HTML so this won't work. There [I]is[/I] a way to hide an element using an inline style statement though. Could you please show more/all of your code and explain what yo uare trying to accomplish?
but it's a good idea to make another empty cell in it's place visible. Like a toggle. [CODE] <script> function toggle_cell(){ if(document.getElementById("contentcell").style.display=="none"){ document.getElementById("contentcell").style.display=""; document.getElementById("emptycell").style.display="none"; }else{ document.getElementById("contentcell").style.display="none"; document.getElementById("emptycell").style.display=""; } } </script> [/CODE] [code=html] <table> <tr> <td id="contentcell"> stuff </td> <td id="emptycell" style="display:none">   </td> </tr> </table> [/code]