 |

jumpingrock
Jan 29, 2011, 11:12 AM
Post #1 of 5
(1229 views)
Shortcut
Registered: Dec 15, 2002
Posts: 5664
|
I was looking at this thread: http://www.rockclimbing.com/...d;page=unread#unread and it looks pretty ugly because of the long ass word. A slightly better usage of css would fix that issue. Your html is pretty poorly formed (works but still poorly formed - ie: you should be giving all your html elements a css classes so that you can format them with external css files) but still fixable. if you give the <font> element that you use to display the actual message the following css it will wrap the long words to whatever maximum size you want (this won't work in ie7 but ie7 is shit anyway). Of course, you should also not be using a font element at all, but that's beside the point. Use a div element and give it a class and style that in css. element.style { display: inline-block; max-width: 1000px; word-wrap: break-word; } Cheers, David
|
|
|
 |
 |

ddt
Feb 2, 2011, 4:58 AM
Post #2 of 5
(1167 views)
Shortcut
|
I've made a quick fix, although I'm not sure if it works in IE. Firefox seems fine.
|
|
|
 |
 |

ddt
Feb 3, 2011, 7:54 PM
Post #4 of 5
(1135 views)
Shortcut
|
Turns out my "quick fix" caused a few other problems , so I've reversed it for now until a more robust solution can be implemented.
|
|
|
 |
|
|