Menu
  • HOME
  • TAGS

How can I get an element to stay within the browser's window width when its content is wider?

html,css,page-layout

The workaround solution I came up with was adding a max-width to the expand/collapse div. It doesn't really prevent the table being wider than the window, but it solves 95% of the cases.