How to implement 2 rows and width to fit in the column in web development?
- by wamp
<td style="width:230px;overflow:hidden;">
<?php echo $something; ?>
</td>
What I'm doing is to cut $something to 2 rows at most,and add ... when necessary,
but this kind of requirement seems clue less when trying to implement,
Solutions within the scope of php/javascript/css are appreciated!
anyone has ideas?