Click to See Complete Forum and Search --> : [RESOLVED] am I missing something basic? H1 colours...???


mistafeesh
07-12-2008, 01:45 PM
Hi,

For some reason when I set the text colour for H1 and similar elements in my external css files it won't work, but if I set it within the page it does.

For example, the following code:h1 {
font-size: x-large;
color: 0775A7;
background-color: #f2f2f2;
padding: 3px;
border: 1px solid #000000;
font-style: normal;
}displays correctly apart from the text colour.

Am I missing something simple here?

It's the same with my other sites too, but I've only just got round to trying to do something about it...

coothead
07-12-2008, 02:48 PM
Hi there mistafeesh,

color: 0775A7;

must always be coded like this...
color: #0775A7;

coothead

mistafeesh
07-14-2008, 05:16 AM
Whoops!! Silly me - I've done that several times without noticing. Must get more attentive!!

Thanks Coothead.

coothead
07-14-2008, 11:00 AM
No problem, you're welcome. ;)

slaughters
07-14-2008, 03:18 PM
Well,

At least he did not make the mistake of using:

colour: 0775A7;