cutenews and links in news stories (styling)

Soldato
Joined
20 Oct 2002
Posts
19,516
Location
London
I can't for the life of me think why cutenews insists on changing the styles of my links :confused:

http://touchlinetactics.2m2l.net/unlive/index.php

I want all links in the main body in the main body to have no underline until hovered, and i've got this in my CSS file:

Code:
#content #main a:link { color: #007b32; text-decoration: none;}

#content #main a:hover, a:visited, a:active { color: #007b32; border-bottom: 1px solid #007b32;}

It's fine. But cutenews seems to randomly underline links that i put in a news post. Hmnkay.

Try to wangle it by wrapping all news in a .cutenews div.:

Code:
<div class="cutenews">
<h3>{title}</h3>

<p>{short-story}</p>

<p class="news-bottom">Posted on {date} by {author} | [full-link]Read more �[/full-link]  [com-link]{comments-num} Comments[/com-link]</p>
</div>

And CSS (external file):

Code:
.news a:link { color: #007b32; border: 0; text-decoration: none;}

.news a:hover, a:visited, a:active { color: #007b32; border-bottom: 1px solid #007b32;}

But oh no. It won't work!! :mad:

Any ideas?
 
Oh dear. I am officially a spoon. I must have been doing this for too long now lol.

I had a:visited set to have the border.. which is why 'some' of the links were showing the border. Jeez :rolleyes: :p

Thanks for your inadvertent help, MastermindUK :)

Dont even need to wrap the posts in another div i'm sure.
 
Back
Top Bottom