PDA

View Full Version : Font colour in Firefox Mozilla



simonf
12-02-2004, 02:19 AM
Hi Guys & Girls

A real basic question but it's driving me batty. In I.E if you want to change a font colour, you can use the old hex code "#Number" or the text "white", "black" etc for the basic colours etc. In firefox even though I've stated the font should be "white" it still comes up black!!

Does anyone have a link to a reference guide etc for Mozilla's coding guidlines etc that could assist me. As always best rgds, Simonf :cool:

cr3ative
12-02-2004, 05:27 AM
What is the exact line of code you are using presently?

cr3ative
(who is very hung over.. uurgh)

simonf
12-02-2004, 07:51 AM
HI Cr3ative

<font color="white" face="Verdana" size="2"> just prior to the script.

if you look at the page http://www.smos.co.za you will see a tickler that comes out black in Mozilla but 100% white in I.E

rgds,Simonf :cool:

cr3ative
12-02-2004, 08:23 AM
Use this instead: In your actual ticker array:



tickercontents[0]='<a><font color="white" face="Verdana" size="2">Did you know… that you might be spending up to 3% of the total company’s revenue on printing!</font></a>'


T'works for everything.

cr3ative

simonf
12-03-2004, 08:13 AM
Hi cr3ative.... thanks bud.. works a treat. do you have a refence source for Mozilla I could get. rgds,Simonf;)

cr3ative
12-03-2004, 11:04 AM
I usually use mozdev for most problems, they have a plentiful resource.

Cheers
cr3ative

GavinPearce
12-14-2004, 10:52 AM
W3 Schools it a get reference guide for valid coding.

http://www.w3schools.com