Improved table handling in css