Hello,
I a few very basic questions about CSS. I'd really appreciate it if you could answer them.
1) What is the difference between css codes starting with # and with .
2) What is the difference between using id="xx" and class="xx"
3) What is the difference between writing it like
andCode:.help { background-color : #fffff0;}
4) Should it beCode:.help { background-color: #fffff0; }
orCode:.thtcolor { COLOR: #EEEEFF;}
ThanksCode:.thtcolor { COLOR: #EEEEFF}




.
Sorry.
That's how I'd do it. You could shorthand it, but I recommend against it. I ALWAYS write it all the way out to avoid confusion by browsers or myself for that matter.
Bookmarks