[thelist] css class vs id

Chris W. Parker cparker at swatgear.com
Fri May 10 11:35:01 CDT 2002


> Its not marked as an imporant message in my mail program.

you're not alone steve, it's marked as important in mine also. in fact,
all of his emails are marked important. wtf?

<tip type="pretty code">
it's always a good idea to write "pretty code" even if someone is not
going to see it. reason being, you'll get in the habit of writing pretty
code so when it comes time to work with multiple people and share your
files you'll not have your partners yelling at you because it's
difficult for them to read.

what do i mean by "pretty code"? here are some guidelines...

1. use variable names that make sense.
2. indent with at least 2 spaces, or a tab.
3. capitalize reserved words starting with the first word.
4. if you have a variable withmorethanoneword, capitalize the first
letter of each word starting withTheSecondWord.

apply these guidelines where applicable.
</tip>



More information about the thelist mailing list