I wanted to enable horizontal scrolling on tables in my articles whenever their width exceeds the available width in webpage layout. I tried to achieve this with CSS only, but failed. So I had to wrap all in a div using jQuery: $('table.data').wrap('<div class="tcontain" />');
. Then I applied following CSS to tcontain
div: width:100%;overflow-x:scroll;
This works but I want to avoid JavaScript. Please help!