PDA

View Full Version : changing the default colours of links


sulasno
08-27-2010, 02:47 PM
do I need a hack to change the colours of links?

for example;

(brackets are incomplete)

url=www.domain.com]LINK[/url

I want the "LINK" to show up in another colour by default irrespective of the browser that I am using

borbole
08-27-2010, 03:12 PM
do I need a hack to change the colours of links?

for example;

(brackets are incomplete)

url=www.domain.com]LINK[/url

I want the "LINK" to show up in another colour by default irrespective of the browser that I am using

Add the following code at the additional.css template:

.postcontent a {
color: #000000;
}And replace #000000 with the actual color value that you want your links to show up.

sulasno
08-28-2010, 12:39 AM
thanks

trying to understand css code

will this make the link bold in red ?

.postcontent h4 {
color: #000000;
}

ProFifaLeagues
08-28-2010, 06:28 AM
<a href="http://www.w3schools.com/tags/ref_color_tryit.asp?hex=FF0000" target="_blank">#FF0000</a> is the colour code for Red mate

sulasno
08-28-2010, 09:11 AM
thanks

I forgot to amend the hex of the colour

will adding h4 make the link Bold ?

borbole
08-28-2010, 01:31 PM
thanks

I forgot to amend the hex of the colour

will adding h4 make the link Bold ?

To make the red for links bold add this code:

font-weight: bold;

sulasno
08-28-2010, 01:48 PM
thank you very much

borbole
08-28-2010, 01:54 PM
thank you very much

You are welcome.