Hi I am having trouble with the width of a table in firefox 2. When i try to set the width of the whole table or just a column it does not work. It even overflows over the div it is in. The problem is that it is not wrapping the text in one of the columns. How do i fix this?
I tried that and it did not work. My problem is that i have 4 columns and in one of them there are urls in a bunch of different rows. (all the same column) and Firefox 2 will not wrap the text because there are no spaces in between words because they are urls. I can fix it by putting spaces in the urls but i rather not. Is there a solution to this?
Firefox and IE behave differently when a table will not fit in the allocated space:
- Firefox makes the table wide enough to hold the content if it can't wrap the cell contents. This will even make the page wider if necessary, adding horizontal scrollbars if it is wider than the browser windows.
- IE will sacrifice the contents of the cells before it will make the table larger. But if table cells contain images, it will do the same thing that Firefox does.
Note that, when an object will not render in the allocated space, there are no standards telling a browser how to render it. So each browser has its own defaults.