Wednesday, 15 July 2015

php - Everything is stacking together? -



php - Everything is stacking together? -

i here 1 time 1 time again problem. [:s] stacking together! here's code:

while ($row = mysql_fetch_array($data)) { echo "<div id='blpost'>". "<a href='read.php?pageid={$row['id']}'>". "{$row['title']}</a> | date: {$row['date']}". "<div class='sep' />"; $sbsts = substr($row['data'],0,500); echo $sbsts; echo '</div>';

the problem is, stacking together! if help, here's testing server. this development server i'm using. i've fiddled few times. 1 day outdated version of cms. uses same functions , everything, missing images, such potatoes. thanks.

your first blpost div never closed.

<div class="sep" />

is not valid. need close divs correctly.

php content-management-system blogs styling

No comments:

Post a Comment