I'm developing a holiday report module for our company. The problem is an overview, where all holidays for all employees are shown. They are presented in a table, but the table is too wide (as you know, there are 52 weeks in a year) and streches over the right sidebar. I would like to make the table stay in the content block, and make the block horizontally scrollable. Is it possible or do I have to reconsider my design? The theme is a customized version of Garland.

(I know what people think about horizontal scrollbars, but in this case, it would fit fine.)

Comments

nevets’s picture

Have you tried putting the table is a div, giving the div a fixed width and setting the css property overflow to either scroll ot auto?

e0slemig’s picture

Now I get the scrollbars, but I don't want the vertical one, only the horizontal. I have tried to set the height of the div, but it does not help. Ideas?

nevets’s picture

Try the auto value for overflow, as long as the area is tall enough I think it will only show the horizontal scroll bar.