when i set a border to table with javascript :
table.style.border = '1px solid #000000';
i got someting like this :
<table style="border-left:1px solid #000000;border-top:1px solid #000000;border-right:1px solid #000000;border-bottom:1px solid #000000;">
...
</table>
How can i avoid this "-left, -top, ..." and get only style="border:1px solid #000000;" ?
table.style.border = '1px solid #000000';
i got someting like this :
<table style="border-left:1px solid #000000;border-top:1px solid #000000;border-right:1px solid #000000;border-bottom:1px solid #000000;">
...
</table>
How can i avoid this "-left, -top, ..." and get only style="border:1px solid #000000;" ?