Welcome to WebmasterWorld Guest from

Forum Moderators: not2easy

Message Too Old, No Replies

Applying classes to links

7:15 pm on Aug 30, 2012 (gmt 0)

New User

joined:Aug 30, 2012
posts: 1
votes: 0

Hi there,

I made a simple site, with a list of links. Every list-item has to be a link. I created two classes ".title" and ".maintext". I assigned them to the list items, but....

The class for the maintext is working, but the class for the title only reacts on the font-size and i.e. not the color.

Who can help me out?


[edited by: alt131 at 7:36 pm (utc) on Aug 30, 2012]
[edit reason] Thread Tidy [/edit]

2:36 pm on Sept 5, 2012 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member fotiman is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Oct 17, 2005
posts: 4993
votes: 14

Welcome to WebmasterWorld. Perhaps you have a specificity problem, meaning you might have some other CSS rule defined elsewhere that has a higher specificity. You didn't post any code, so hard to provide any more help than that.