Home › Forums › CSS › set max characters inside table cell? › Re: set max characters inside table cell?
June 4, 2009 at 11:44 am
#58578
TheDoc
Member
Max characters allowed? You mean before the line breaks down (<br>)?
Or do you mean total allowed characters in a cell?
The first one can simply be done by setting a width on the cell.
Code:
td {
width:200px;
}
width:200px;
}
The latter will need to be done with some sort of PHP I’d assume. Some sort of trim function.