Welcome visitor
* Login
* Register
It is currently May 22nd, 2019, 2:46 am
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 5 posts ] 
Author Message
  Static table size
PostPosted: August 26th, 2009, 5:11 pm 

Posts: 19
Im wondering how to give static sizes to a table so it doesnt grow larger or taller, instead of that scrollbars should appear. I tried giving width and height to the table and cell tags to no avail.

Do you know a trick to get this effect im looking for?


Top
 Profile  
 
  Re: Static table size
PostPosted: August 26th, 2009, 5:52 pm 
User avatar

Posts: 44
Put the sizes into a div, overflow: auto and then put the table inside that div.
:mrgreen:


Top
 Profile  
 
  Re: Static table size
PostPosted: August 26th, 2009, 6:04 pm 

Posts: 19
Thanks but i actually would like to specify the size for each cell, so each cell would have its own scrollbars when needed, not the table as a hole.


Top
 Profile  
 
  Re: Static table size
PostPosted: August 26th, 2009, 6:07 pm 
User avatar

Posts: 44
You can do the same thing for each cell, :D


Top
 Profile  
 
  Re: Static table size
PostPosted: August 26th, 2009, 6:23 pm 

Posts: 26
i would go, for either cases, with divs alone. theres not need for using a table.


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

FORUMS » Client Side » HTML


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