URLs will not wrap, and should not be wrapped. Consider the following:
- Use br tags in the url where you want to break it (do this on the text part of the a tag, not the url part)
- Shorter urls? Can you avoid displaying the part that controls a script in the test part?
- Redesign the columns. Can the url take up an entire row below the other information (using rowspan)?
- Change the font size (if the trouble is minor)
- Can you wrap something else so the url fits?
Note that divs do not like to be in the same structure a table is in. There are known bugs when they are intermixed.
MidiMagic
Nearly a Senior Poster
3,319 posts since Jan 2007
Reputation Points: 730
Solved Threads: 182
More:
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.
MidiMagic
Nearly a Senior Poster
3,319 posts since Jan 2007
Reputation Points: 730
Solved Threads: 182