MyBB Community Forums

Full Version: Underline links in a post
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Underline links in a post

I'm assuming i need to add some CSS to underline links in posts. I just want it in posts, not globally so changing the global.css a:link won't work.

Thanks.
.post_content a:link,  .post_content a:visited {
text-decoration: underline;
}
Thank you!

.post_content a:link {
	text-decoration: underline;
}

.post_content a:visited {
	text-decoration: underline;
}

did the trick
Doesnt work for me. Why?
Added it to global.css and nothing
(2010-12-21, 11:38 PM)Thorondor Wrote: [ -> ]Doesnt work for me. Why?
Added it to global.css and nothing

Did you added this in your "current theme" ?
I don't get it..where do you put this code in at? the end of Extra CSS Attributes?
^ use advanced edit mode for global.css and put the code at the bottom
Thanks M that was the puzzle piece I needed.

MikeInToshx

Doesn't work for me?
Although I want it to have a blue color, instead of underlined.
^ you can try using .post_content a {color: blue !important;}
Pages: 1 2