1 lexagon Jun 10, 2006 16:50
3 edb Jun 10, 2006 16:59
It does the same thing in Firefox.
Different browsers are willing to break up long strings of characters to try
to fit either a layout or a screen, generally by splitting at punctuation, but
as far as I know none of them will break a sequence of letters in half. For
example an extremely long URL with a ? in it will be seen as 'breakable' by
some browsers. I forget which browser does what, but what did you expect?
Didja think a browser would randomly crack a word in half?
Imagine if the bro
wser decided to b
reak words where
ever it was conve
nient in order to p
reserve the layou
t!
4 lexagon Jun 10, 2006 17:06
Hey, Ed, OK I get your point.
I guess in my frustration I haven't made clear enough that I'm basically "only" looking for a way to enforce the "overflow: hidden;" on IE. Or whatever leads to the desired effect.
In fact it _was_ a long Url that alerted me to the trouble in the first place. :)
Which reminds me that up here at the forum, there is this nice little feature that _does_ shorten long urls (in the rendering?) putting some "..." in.
Is there a way I could hack something like this into my B2E?
Thanks! 'lex
5 edb Jun 10, 2006 17:20
I noticed the thing with long URLs in the forum but I don't know how it's done.
As to the hidden thing, this is what works for my css:
/* Styles for posts */
.bPosts {
float: left;
width: 69%;
overflow: hidden;
margin: 0;
padding: 0;
}
.bPost, .bPostpublished, .bStats, .bLastPost {
clear: both;
margin: 0 1ex 0 3ex;
padding: 0;
border-bottom: 1px solid #ddd;
overflow: hidden;
}
Maybe it's obvious, but bPosts is used for all the posts and bPost is for
each individual post. Maybe only the second one is needed but I've got
both in there. I just noticed I've also got a lot of residual junk. Styles
for the stats page? Styles for the calendar thingie? Reckon I oughta do
some cleanup eh?
6 lexagon Jun 10, 2006 17:48
Hey, Ed, LOL, yeah I was wating for that - actually I was hoping to be able to come up with something more dignified before it came under your most merciless eyes ;) Lemme fiddle it up 'til I say Ok that's something and _then_ you're welcome to tear it apart.
I know there's some exotic stuff in there, but more about that later ;) gotta run and buy some groceries - starved dilletants are even _more_ prone to errors.
L8rs, 'lex :D
7 lexagon Jun 13, 2006 22:31
see http://minglewithingle.com/archives/2005/06/24/link-truncator-v05/
think something like that could be done for b2Evo?
Best, 'lex
8 madeinhawaii Oct 24, 2007 21:17
Has this ever been resolved? I don't recall seeing a control for this in any of the admin functions.
I know coppermine has a config option that allows the admin to wrap long strings after a specific count.
oh, it does that to this forum too 8|
errrm, sorry; but I guess that goes to show.
Imagine someone irate posting comments like that all the time ...