Table overflows parent div when td content is too wide
I prepared a JSFiddle to explain/show you my problem: http://jsfiddle.net/nz96C/ It looks alright at first, but when I add some text to #firsttd the whole table overflows the parent div once the tds whole width is used. I know how to solve this problem with CSS ( #firstdiv {width:90px;overflow:hidden;} ) but I don't know the exact number of pixels (percentage doesn't work). Also I don't want the text in the first td to wrap. I hope you get my problem, I even have trouble explaining it in my first language. EDIT: My goal is to have a table in which it doesn't matter how long the text in the