View Single Post
  #2 (permalink)  
Old 04-01-2008, 07:38 AM
dman_2007
Guest
 
Posts: n/a
iTrader: / %
Default

Quote:
Originally Posted by Candeleena View Post
So I added <text="#004E91" link="#004E91"> right behind background colour for the editable region, but it just doesn't work.

The question is: can I have different colours for links in different places of a template? How?
Yes, you can have different colors for links in different places of a template. For links contained in normal HTML elements, use following code :

CSS Code
Code:
<style type="text/css">
    a:link {
       color: green;
    }  
    
    a:visited {
       color: red;
    }
    
    a.slink:link {
      color : black;
    }
    
    a.slink:visited {
      color: red;
    }
  </style>
(X)HTML Elements
Code:
<a href="/link1">link1</a>
<a href="/link2" class="slink">link2</a>
But it looks like you're using some kind javascript rich text editor and without knowing which one it is, i won't be able to help you much.
Reply With Quote