Previous Message
Next Message

RE: [css-d] How to replaces tables/frames with CSS?

Sent by abbey on 29 January 2002 12:12


At 10:38 AM 1/29/2002 -0500, RUST Randal wrote:
>Brad,
>
>The "#" selector is how you set an "id" for an element.
>
>If I use #top, then I would have:  <div id="top>top</div> in my code.
>
>If I use .top, then I have: <div class="top">top</div>.
>
>I use # for boxes that are setting up the positioning of elements.

I thought ids were supposed to be unique to a page. If you're going to 
recycle something like p class="top" td class="top" then you use classes.

Thanks!
tamara abbey


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
Previous Message
Next Message

Message thread:

Possibly related: