PDA

View Full Version : (CSS) How to force links to be underlined in postbit template?


ThorstenA
08-22-2008, 11:42 AM
Generally my links are not underlined. I only want to show them underlined in postbit template. How can i achieve this with css?

Theres a <div id="post_message_$post[postid]">, how coud I use this to force underline links? Or is there a better solution available? Thank you.

Attitude5ire
08-22-2008, 12:10 PM
Add a class to it.
eX:
.post_links a{
text-decoration:underline;
}

and then declare in postbit
<div id="post_message_$post[postid]" class="post_links">

ThorstenA
08-22-2008, 12:19 PM
Add a class to it.
eX:
.post_links a{
text-decoration:underline;
}

and then declare in postbit
<div id="post_message_$post[postid]" class="post_links">

That does not work :confused: I have all links generally set: text-decoration:none. And I think when [ url ] bbcodes are processed, they use standard-settings (test-decoration:none).

Attitude5ire
08-22-2008, 01:48 PM
Try this:
.post_links a{
text-decoration:underline !important;
}

ThorstenA
08-22-2008, 02:04 PM
That works great! Thank you!

Stormer
10-09-2008, 08:13 AM
Try this:
.post_links a{
text-decoration:underline !important;
}

Where exactly should that be put in the postbit template ?

ThorstenA
10-09-2008, 02:46 PM
Where exactly should that be put in the postbit template ?

This is meant to be in admincp > styles > css settings for this styles > end of this page