in reply to CSS to trim overly long node titles
Nice idea. Thanks alot for putting this up Eliya. :)
I'm not sure where you found the a.nnt-link style but unfortunately it didn't work for me. I looked at the CSS and found h3.other
h3.other { max-width: 30em; display: block; margin-right: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } p a { max-width: 50em; display: block; float: left; margin-right: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
This works - ok - right now. (Though also in the "works for me" stage) Adjust the max-width to your taste.
I don't find this to be a too much of a recurring problem IMO but it's definitely a nice option to have for stretches when PM node titles trend long. Again, thank you Eliya for bringing it up and providing a solution all at once. ++
Luis
UPDATE: added the p a style.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: CSS to trim overly long node titles
by Eliya (Vicar) on Apr 07, 2011 at 15:10 UTC | |
by luis.roca (Deacon) on Apr 07, 2011 at 15:44 UTC |