Previous Message
Next Message

[css-d] Newbie question

Sent by Todd Richards on 1 April 2002 21:09


CSS rookie here wondering what is the best use for "class" versus "id"?
My question is that I have several defined classes, but when I use them
in a <div> tag (i.e. <div class="classname">), I always get a line break
in my HTML page.  So I'm sure that I am doing something wrong.  At one
point I found a way that corrected it, but I can't remember what it was
or where I found it.

Any advise or direction would be MUCH appreciated!!

Todd
Previous Message
Next Message

Message thread:

Possibly related: