Jump to content

table scroll with screen?


spyboy1o1
 Share

Recommended Posts

You must use <div>:

<div style="width:400px; height:300px; overflow:auto"><table><tr><td>[text]</td></tr></table></div>

The overflow property is telling that if the size of the table is superior than 400px (width) or 300px (height); it'll generate a vertical, horizontal or both ways scroll, depending of the case.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...