Yes, using text-overflow is a much better approach. BTW, the new edinburchbicycle.com site is awesome! Great job, and a great showcase of what can be done with Active4D. Do you have any usage stats?
On Oct 11, 2012, at 10:27 AM, Dave Gradwell <[email protected]> wrote: > Hi Peter, > > Maybe you could use the "text-overflow: ellipsis;" and "white-space: nowrap;" > styles in an element parenting your styled text. > > You could also set a title attribute using OBJECT Get plain text() if the > string was > 20 characters long, or something, which would get you a tooltip > exposing the full text. > > Here's an example (look in the category filter and see the categories with > very long names). > http://www.edinburghbicycle.com/browse/accessories > > Yours, > > Dave. > > > > On 11 Oct 2012, at 14:39, Peter Gutbrod wrote: > >> Until I'll find a clever regexp replace to chop of text without touching any >> tags, I try to control the length within 4D and simply output the whole text >> field as is. > > > _______________________________________________ > Active4D-dev mailing list > [email protected] > http://list.aparajitaworld.com/listinfo/active4d-dev > Archives: http://active4d-nabble.aparajitaworld.com/ Regards, Aparajita _______________________________________________ Active4D-dev mailing list [email protected] http://list.aparajitaworld.com/listinfo/active4d-dev Archives: http://active4d-nabble.aparajitaworld.com/
