W3C home > Mailing lists > Public > www-html@w3.org > June 1998

Style Sheets

From: Wira \ <jets@indo.net.id>
Date: Tue, 30 Jun 1998 09:41:25 -0700
To: <www-html@w3.org>
Message-ID: <01bda445$ec3a8a00$LocalHost@jets>
i got a problem with style sheets. I make a style sheets by using External
Style Sheets metode. like this:

P.kolom          {text-align: left; margin-left:.10in; margin-right:.10in}
A:link           {color: red}
A:visited        {color: purple}
A:active         {color: black}
A:hover          {color: blue; text-decoration: none}
A                {text-decoration: underline}
A:hover.kolom    {color: gold}
DIV.barhitam A:link    {color: silver}   /* link warna perak pada kolom
hitam */
DIV.barhitam A:visited {color: aqua}     /* link yang pernah di kunjungi
warna biru muda pada kolom hitam */
DIV.barhitam A:active  {color: yellow}   /* link aktif warna kuning pada
kolom hitam */
DIV.barhitam A:hover   {color: gold}     /* link warna emas jika pointer
mouse di taruh pada mouse pada kolom warna hitam */
DIV.barhitam A         {text-decoration: none} /* link tanpa garis bawah
pada kolom hitam */

then i save it to webcorner.css, and the style sheets work perfectly, but...
if I add tag <style type="text/css"> or <style> and close with </style>, the
style sheets doesn't work. So what's wrong ?

Thanks :)

                                Wira Julianto
Web Corner  http://www.geocities.com/SiliconValley/Heights/5618/
Games Mania Indonesia http://www.indonesia-undernet.org/gmi/
Received on Monday, 29 June 1998 22:50:10 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:48 UTC