Hello everyone. This looks like a good forum to hang around and learn.?
I have been designing my own site for over a year now. I first designed my site with plain HTML. BLOATED! About six months ago, I updated it to include CSS. Getting better but still using tables! And now I am in the process of totally redesigning from the ground up with no tables at all. [I]Now
What differences/benefits are there in using “id” or “class”? I have read through many tutorials in the past eight months or so, but have not found an adequate explanation.
I have tried it both ways, in both div tags and span tags, and don’t see any difference in the layout of my site. Or between Firefox and IE. And using the DOM inspector in Firefox, it will blink the same areas either way.
I have noticed in many sites, “id” will be used for div tags, and “class” will be used for span and inline tags, or vice versa. Is this just for organization and readability of the CSS text? Or is there a specific purpose for this?
Thanks in advance for any information.