create a div that pulls content from a database, i used the same type of div’s on two different pages, on one of the page the data is absolutely fine. but on the other page the data keeps on overflowing in x direction.
can anyone tell me whatz wrong with it !! ???
foreach($myresult as $display) {
echo "
".$display."
";
echo "
".$display."
";
} ?>
this is the php code i used to pull the data within left-philantropy div. and here is its css
#philantropy .left-philantropy{
width:500px;
height:400px;
padding:10px;
float:left;
position:relative;
text-align:justify;
overflow:auto;
}