try overflow with the css. do you need to display all of the data? or would it be appropriate to trim it down to certain number of words? if so, i have this function:
function trim_text($text, $threshold, $phrase="....."){
//cut the abstract down to a specified # of words
$atext = str_word_count($text, 2);
if(count($atext) >= $threshold){ // gotta cut
$ttext = array_keys($atext);
return substr($text, 0, $ttext[$threshold]-1).$phrase;
}else{ // put the whole thing
return $text;
}
}
i use that for a page where i show a list of scholarly papers to trim down abstracts. $threshold is # of words, $text is the text to trim, you can optionally give the phrase to append to the trimmed text. i use "...."