html - Text larger that rest in php code -
html - Text larger that rest in php code -
i have php code display items database. works fine , have styled how need within code word 'comments' displayed larger rest. ive played around code ir either displays error message or adds more text larger text
<div class='entry'> <span class='link'> <?php echo $row['title']; ?><br/> <?php echo $row['message']; ?><br/> <?php echo $row['author']; ?><br/> <?php $row['posted'] = date("js m y h:i",$row['posted']); echo $row['posted']; ?><br/> <?php echo "<a href='msg.php?id=$row[id]'/> comments $row[replies]</a>" ?><br/> <?php echo "likes: " . $row['votes_up'] . " "; echo "dislikes: " . $row['votes_down'] . "<br />"; ?> </span>
it displayed in row 5 'comments'
ive tried adding echo etc , can work out
style...
.entry { width: 500px; color: black; background: white; padding:8px; border:1px solid white; margin:5px auto; -moz-border-radius:8px;
}
span.link { font-size:150%; color: #000000; text-decoration:none;
}
as presumed, anchor benefactor. style:
span.link { font-size:150%; /* offending style sheet */ color: #000000; text-decoration:none; }
either alter that, create new class anchor, or more specific on css selector exception.
php html css
Comments
Post a Comment