Re: <td> and style sheets

by "J.J.SOLARI" <jjsolari(at)pobox.com>

 Date:  Sat, 16 Jun 2001 06:38:03 +0200
 To:  hwg-techniques(at)mail.hwg.org
  todo: View Thread, Original
On Fri, 15 Jun 2001 12:25:49 -0700, chip.wiegand(at)simrad.com wrote:

>Is it possible to have several differant <td>'s in a style sheet? I
have tried
>to use
>td.menu  {bgcolor="#666666"}
>td {bgcolor="#ffffff"}
>and then called them in the web page with
><td class="menu"> (didn't work)
><td class=".menu"> (also didn't work)
>(both have a standard white bg color).

Chip,

You can have any different cell behaviour you wish with stylesheets.
First, make sure you write valid CSS, it should read:

td.menu {background-color:#666666;}
td {background-color:#ffffff;}

Some nice places worth visiting:
<http://www.w3.org/Style/CSS/>
<http://css.nu/index.html>
<http://www.westciv.com/style_master/house/index.html>

hih,

JJS.
-- 
personal site <http://www.yoyodesign.org/>
public key id: 9eb99ddb <http://www.keyserver.net/>

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA