HTML Basix - HTML tutorials and online webmaster tools


Htaccess code generators Code generators Tutorials

Online and offline code generators


Subscribe to RSS feed
Subscribe to the HTML Basix RSS feed.

Scrollbar in Table Generator


Put a scrollbar into your tables - vertical or horizontal

If you have a table which expands due to dynamic content but you'd like it to only use a certain area, put a scrollbar in it.

* note - degrades well in early browsers, no scrollbar is shown but the table gets displayed in full.

Your site might have a table which contains information which changes from time to time. This information might be different in size, ie a dynamic list from a database. Instead of your table changing size due to varying amounts of information within it, you can add a scrollbar which keeps the area for the table the same size all the time, but adds a scrollbar to the table if the table exceeds the size you'd like it to be.




table details
width of area to use:
height of area to use:
border::
border width:
border color:
your table code:
* paste in the full code for your table, including <table><tr><td> tags etc. If you are using the code in a script, leave the table code out and take the generated tags and put them either side of your table code in your script.
IMPORTANT!! Set your table width 20px narrower than the 'width of area to use'. For example, if your 'width of area to use' is 300, your table tag will look like: <table width="280">

 


Page will open in a new window






Site Stats     
VisitorsPageviews
Total: 8,629,421 Total: 23,190,532
Today: 711 Today: 2,160
Yesterday: 1,244 Yesterday: 4,143
Past Month: 38,564 Past Month: 128,433

1,232 visitors in the last 24 hours
This page has been visited 556,943 times
There are currently 13 visitors online
click to see where
most people online at once:
286 visitors on 06/27/2012
   You beaut











This site is © HTML Basix 2003 - 2009