Click here to Skip to main content
14,970,456 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi
any one give me answeres of this question
Posted

1 solution

Try this:
XML
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<table id="mytable" style="width:200px; border:1px solid red">
  <tr>
    <td>Jill</td>
    <td>Smith</td>
    <td>50</td>
  </tr>
  <tr>
    <td>Eve</td>
    <td>Jackson</td>
    <td>94</td>
  </tr>
  <tr>
    <td>John</td>
    <td>Doe</td>
    <td>80</td>
  </tr>
</table>
<script>
// wait for 2 seconds
setTimeout(function(){
    document.getElementById('mytable').style.width = '500px'; },
    2000);
</script>
</body>
</html>
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900