Christian Höltje wrote:
I have a comment on my blog where they used a very long URL.
http://docwhat.gerf.org/2007/05/junkmail/#comment-2116
I tried making the A element overflow: wrap, but that didn't work (I
presume because it's inline, not block).
The 'overflow: 'only works on block elements with declared dimensions,
and 'overflow: wrap' is an unknown value.
Is there a good way to make this wrap when it goes past the width, if
only in FF and Opera?
Not really - unless some browsers support something like 'wrap-option:
emergency' suggested in CSS3 module: text.
In your case I would simply hide the overflow on the entire block...
.comment-content {overflow: hidden;}
...as that won't disturb anything regarding the link or otherwise, AFAICS.
regards
Georg
--
http://www.gunlaug.no
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/