<div id="post_message_$post[postid]">$post[message]</div>
<div id="post_message_$post[postid]" class="plinks">$post[message]</div>
.plinks a:link { color: red; } .plinks a:visited { color: red; } .plinks a:hover { color: blue; }