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 !! ???
<div class="left-philantropy"> <?php foreach($myresult as $display) {
i am still working on localhost, hvn't put it online !!! the only fix at the moment i could think is to make the text static instead of dynamic . and with static text its working absolutely fine !
Try making the overflow hidden in the left-philantropy class. Also, what is your parent #philantropy and tagline class? Also, your position doesn't have to be relative if you are using floats.
can anyone tell me whatz wrong with it !! ???
this is the php code i used to pull the data within left-philantropy div. and here is its css
this is how others are.