Joseph,

if you are going to have an overall look and feel in your web site it makes
sense to have the global definitions separate from your "special cases". You
could however include your most frequently used colour in the  " global"
definition.

I simply got in the habit of doing it that when I redefined headings, I tend
to start with the "standard" attributes and values and then add my classes,
eg

h1, h2, h3, h4, h5, h6 { color: black;  font-family: Times,   serif;
font-weight: bold; margin-top: 0px; margin-bottom: 0px; background:
#ffffff; }

h5.header {font-family : "Times New Roman", Verdana, Arial, Serif; font-size
: 1.5em; font-weight: bold; color:black; background: #fafad2;
text-decoration: underline; letter-spacing: 0.2em; text-align: center;  }

and so on....

the first declaration being the global one, and the h5 one I use in about
three sections of the site., in other parts it could be different.

I sympathise with your use of .1 and .2 class names, fewer keystrokes but
take it from one who has gone that route, that way can lie madness.

I would recommend that you only use numeric for something very simple and so
basic there will be no possibility of you not remembering what they
represent, and try and use decriptive names for your classes, they tend to
multiply once you appreciate their usefulness, lol, but your class
definitions look fine.

cheers

>I have looked at explanation of classes time and again;   this is the
first time it has made sense.   Thank you.   I had not thought there was a
possibility of writing different definitions for the same thing in the CSS
txt file or in the head.   I note 'color' does not also appear in the main
definition - hr { size: 5px; width: 100% }.   So

hr.1 { size 2px; color: red; width: 50%; }
hr.2 { size 3px; color: green; width: 40%;  }

would make sense?   I  shall be trying this as soon as I get time.




---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.427 / Virus Database: 240 - Release Date: 6/12/02


____ � The WDVL Discussion List from WDVL.COM � ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
       Send Your Posts To: [EMAIL PROTECTED]
To change subscription settings to the wdvltalk digest version:
    http://wdvl.internet.com/WDVL/Forum/#sub

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to