Javascript -dynamically change the width of one table based on the size of other table.

I need to  ensure that the width of one table on my html page be calculated from the width of other table. (less for determined value). Currently the size is hardcoded in the Server user control code. But ideally it could be done using  Javascript - to dynamically change the width of one table based on the size of other table.

The Task  looks very strightforward, but I decided to post a few links, that I found interesting:

Dynamic Content with DOM-2
:JavaScript | Table and in particular Q1594 How can I detect the width of a table?

JavaScript DOM Examples

Controlling Table Size 

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati
posted @ Thursday, October 25, 2007 12:59 AM
Print

Comments on this entry:

# re: Javascript -dynamically change the width of one table based on the size of other table.

Left by lina at 8/9/2009 3:56 AM
Gravatar
how can i chnge width of table dinamic by gavacsript

Your comment:



(not displayed)


 
 
 
 
 

Live Comment Preview:

 
«February»
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
26272829123
45678910