Vibhor What have you put inside the div
To my understanding use a label. and if you are having something
descriptive use .
CSS Control is always better...
When I asked this question, pbreit, provided me with the following solution:
'''
I'd probably use a function or virtual field for that, not store it in DB.
And it could be cleaned up a bit. Something like:
def trunc_desc(s)
if len(s) > 128:
return s[:128] + '...'
return s
'''
Y
You want style of overflow:hidden I believe.
3 matches
Mail list logo