Hi,
I have a page that gets adverts and an image from mysql database. Getting the results is no problem.
How do I make use of css to align each advert next to each other as opposed to every advert under one another.
I also have a problem of the results going over the footer.
while ($row = mysqli_fetch_assoc($sports)) {
echo "<b>" . $row['AdvertTitle'] . "<br/>";
echo "<b>R <b/> " . $row['Price'] . "<br/>";
echo "<b>" . $row['Description'] . "<br/>";
echo "<b></b><br/> <a href='" . $row['Link'] . "'><img src='" .$row['Link'] . "' width='150px;' height='150px'/></a><br/><br/>";
}
.categories
{
height: 500px;
width: 970px;
margin-left: 5%;
margin-top: 5%;
}
Thanks,
Prince