keren2
03-18-2007, 09:10 AM
How The CSS Could Be if I Want Something like this...
i have a div that will content text like testimonial and so on
like this
<div id="testimonial"><? include("./testimonial.php"); ?></div>
So, This will get all text in testimonial.php into this div tag right??
my question is, how i can make the div will be scrollable if the length of testimonial.php's text is greater than 200px in height and make the div follow the length of testimonial.php's height if the text isn't greater than 200px in height??
basically.... what i want to say is
i want to make this div scrollable if the height of the text length is greater than 200px and if the text length is not greater than 200px in height, make the div follow the text height....
for example, the friendster testimonial, if the testimonial text length is greater than 200px in height, i want to make it scrollable, and if not, make the border right below the text...
i have a div that will content text like testimonial and so on
like this
<div id="testimonial"><? include("./testimonial.php"); ?></div>
So, This will get all text in testimonial.php into this div tag right??
my question is, how i can make the div will be scrollable if the length of testimonial.php's text is greater than 200px in height and make the div follow the length of testimonial.php's height if the text isn't greater than 200px in height??
basically.... what i want to say is
i want to make this div scrollable if the height of the text length is greater than 200px and if the text length is not greater than 200px in height, make the div follow the text height....
for example, the friendster testimonial, if the testimonial text length is greater than 200px in height, i want to make it scrollable, and if not, make the border right below the text...