Placing scroll in a table so it does not go beyond the size of the window

0

I have a table that has many columns. I want it to be at the maximum size of the window. The problem is she passes the window. How to put a scrool if the content passes the size of the window horizontally?

    
asked by anonymous 15.11.2015 / 22:57

1 answer

2

This can be done through the css property overflow .

The% w_that your table is must have these properties

max-width: 100%;
overflow: scroll

As in this example: link

Any problem, just let me know.

    
15.11.2015 / 23:12