The best method would be to use a descriptive link text in an anchor link tag:
HTML Code:
<a href="some_really_long_url">Short Description with spaces</a>
overflow:auto will either have no effect or produce a scroll bar. Use the wbr tag. It is non-standard but, will do the trick in Mozilla or at least in FF 1.5.0.7. In Opera, it has no effect so you will still have your problem in that browser.
As an example, if you have this:
HTML Code:
kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
you can do this:
HTML Code:
k<wbr>k<wbr>k<wbr>k<wbr>k<wbr>k<wbr>k<wbr>k<wbr>k<wbr>k<wbr>k<wbr>k<wbr>k<wbr>k<wbr>k<wbr>k<wbr>k<wbr>k<wbr>k<wbr>k<wbr>k<wbr>k<wbr>k<wbr>k<wbr>k<wbr>k<wbr>k<wbr>k<wbr>k<wbr>k<wbr>k<wbr>k<wbr>k<wbr>k<wbr>k<wbr>k<wbr>k<wbr>k<wbr>k<wbr>k<wbr>k<wbr>k<wbr>k<wbr>
You don't have to have the <wbr> tag after every letter but, that is the surest way. Depending upon the size of the area, you should be able to get away with much less of these tags, like every 5th letter, but, it may be more than you think. In FF hold down the ctrl key and hit the plus key. This will make the font larger. After doing this a few times, you may decide you need more of these tags than you first thought.
You can get around this by setting all widths in em's.
Bookmarks