2008-11-02, 12:16 PM
What CSS block changes the appearance of URLs in posts?? I want to change the style to be underlined whether they've been clicked or not. I've searched and searched and it's driving me nuts.
a:link {color: #xxxxxx;text-decoration: underline;}
a:visited {color: #xxxxxx;text-decoration: underline;}
a:hover {color: #xxxxxx;text-decoration: underline;}
a:active {color: #xxxxxx;text-decoration: underline;}
a:link {
color: #000000;
text-decoration: none;
}
a:visited {
color: #000000;
text-decoration: none;
}
a:hover, a:active {
color: red;
text-decoration: underline;
(2008-11-02, 12:37 PM)Matt_ Wrote: [ -> ]I just want URLs in posts to always be underlined.I think posts don't have their own class, so you can assign custom class to postbit.
.custompost a:link {color: #xxxxxx;text-decoration: underline;}
.custompost a:visited {color: #xxxxxx;text-decoration: underline;}
.custompost a:hover {color: #xxxxxx;text-decoration: underline;}
.custompost a:active {color: #xxxxxx;text-decoration: underline;}
<div id="pid_{$post['pid']}" style="padding: 5px 0 5px 0;">
<div class="postbit" id="pid_{$post['pid']}" style="padding: 5px 0 5px 0;">
<div class="post_body" id="pid_{$post['pid']}">
<div class="post_body postbit" id="pid_{$post['pid']}">
.postbit a {
text-decoration: underline;
}