hey guys!
I have the following code and I can’t seem to get the line height to work in my 1600px media query, I have even tried to place the !important after it but with no effect.:
html code:
$sql = "SELECT * FROM review;";
$stmt = mysqli_stmt_init($conn);
//Prepare the prepared statement
if (!mysqli_stmt_prepare($stmt, $sql)) {
} else {
//Bind parameters to the placeholder
//Run parameters inside database
mysqli_stmt_execute($stmt);
$result2 = mysqli_stmt_get_result($stmt);
$resultCheck2 = mysqli_num_rows($result2);
while ($row2 = mysqli_fetch_assoc($result2)) {
echo '<div class="review_post">';
echo '<i class="fas fa-quote-left"></i>'.htmlspecialchars($row2['review']).' '.htmlspecialchars($row2['user_uid']).' '.htmlspecialchars($row2['datesubmitted']).'<i class="fas fa-quote-right"></i>';
echo '</div>';
}
CSS Code:
div.review_post {
position: relative;
font-size: 3em;
left: 5em;
top: 130em;
line-height: -3em ;
margin-bottom: 20em;
white-space: nowrap;
}
p:s: Is there a section where I can post my php code?