Skip to content Skip to sidebar Skip to footer

Changing Font Color Of Link Text

I have the following bit of HTML:
    {% if stuff %} {% for eachthing in stuff %}

Solution 1:

Can't you simply apply a style attribute like this? You must be using color property for ul or li element which won't apply color to <a> element, instead try this

<ahref="path"style="color: #ff0000;">Stuff goes here</a>

Or if you change your mind and want to go for CSS than use this

ul.unstyledlia {
   color: #ff0000;
}

Or inherit the parent color

Demo

Solution 2:

If you want to change the color of the link then you can use the onmouseover to change the color during the hovering. but you cannot change the color without using CSS either implicitly or explicitly

Post a Comment for "Changing Font Color Of Link Text"