How to implement 2 rows and width to fit in the column in web development?

Posted by wamp on Stack Overflow See other posts from Stack Overflow or by wamp
Published on 2010-06-02T03:55:08Z Indexed on 2010/06/02 4:13 UTC
Read the original article Hit count: 151

Filed under:
|
|
<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?

© Stack Overflow or respective owner

Related posts about php

Related posts about JavaScript