Closed Thread Icon

Topic awaiting preservation: fontcolor (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=8651" title="Pages that link to Topic awaiting preservation: fontcolor (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: fontcolor <span class="small">(Page 1 of 1)</span>\

 
Hiroki
Paranoid (IV) Inmate

From: NZ
Insane since: Dec 2002

posted posted 05-15-2003 02:16

Hi, guys.
I just wonder if default font color of Javascript is light green.

Please see below.

code:
<html>
<body>

<script type="text/javascript">

var txt="W3Schools is great!!"

document.write("<p>" + txt.fontcolor() + "</p>")
document.write("<p>" + txt.fontcolor('red') + "</p>")
document.write("<p>" + txt.fontcolor('blue') + "</p>")
document.write("<p>" + txt.fontcolor('green') + "</p>")

</script>

</body>
</html>



My fisrt document color was light green not black.
I did not apply any color for it. Still light green.
Does that mean JavaScript default font color is ligth green???

Hiroki Kozai

Rinswind 2th
Maniac (V) Inmate

From: Den Haag: The Royal Residence
Insane since: Jul 2000

posted posted 05-15-2003 08:04

Dunno, might as well being your browser using it's standard colors

__________________________________________
"Art has to be forgotten. Beauty must be realized."
Piet Mondriaan

reitsma
Maniac (V) Mad Scientist

From: the bigger bedroom
Insane since: Oct 2000

posted posted 05-15-2003 08:25
quote:
<p><FONT COLOR="undefined">W3Schools is great!!</FONT></p>
<p><FONT COLOR="red">W3Schools is great!!</FONT></p>
<p><FONT COLOR="blue">W3Schools is great!!</FONT></p>
<p><FONT COLOR="green">W3Schools is great!!</FONT></p>



...does this answer your question?


"undefined" = "0DEF00" in the colour world.



Hiroki
Paranoid (IV) Inmate

From: NZ
Insane since: Dec 2002

posted posted 05-16-2003 04:53

Hi, guys. Many thanks to your emails.
I am off to break now.
Have a good day.
Cya.,

Hiroki Kozai

« BackwardsOnwards »

Show Forum Drop Down Menu