|
|
Q1594 How can I detect the width of a table?
irt.org | Knowledge Base | JavaScript | Table | Q1594 [ previous next ] Q1594 How can I detect the width of a table?Include a row with one column that contains a blank image, then test the width of the image:
You should really use the onLoad event handler to detect the width of the table, as with the latest browsers, the table width can change whilst the page is loading, as the borwser accomodates for wider objects. But, if you must you can detect the width of the table using the following:
Feedback on 'Q1594 How can I detect the width of a table?' |
-- div -->
|