Welcome visitor
* Login
* Register
It is currently March 19th, 2019, 7:54 am
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » JavaScript



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  Dinamically change tables width
PostPosted: August 8th, 2009, 4:46 am 

Posts: 24
Is there a way to find the width of a table1 and then change the width of table2 to match the width of table1?

tia for your help and time


Top
 Profile  
 
  Re: Dinamically change tables width
PostPosted: August 8th, 2009, 5:14 am 
User avatar

Posts: 61
<body 
onload="document.getElementById('table2').style.width=document.getElementById('table1').offsetWidth+'px';">


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Client Side » JavaScript


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron