Home › Forums › CSS › set max characters inside table cell? › Re: set max characters inside table cell?
June 5, 2009 at 1:33 am
#58606
davidliu
Member
Thanks Doc!
I was going for the 2nd one, which is total characters allowed.
At the moment I got a fixed table-layout and applied this to the td:
table td {
background:#e8edff;
border-bottom:1px solid #fff;
border-left:1px solid #fff;
color:#336699;
border-top:1px solid transparent;
padding:8px;
text-overflow:ellipsis;
overflow:hidden;
white-space:nowrap;
}
I think I gotta go with the php thing, a friend will help me with that.
Thank you!