Previous Message
Next Message

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

Sent by Timothy J. Luoma on 29 January 2002 12:12

On Tue, 29 Jan 2002, abbey wrote:

> 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.

a/o error ;-)

(Apples/Oranges error :-)

Yes, 'id' should be unique, which means that it should not be *defined*
more than once, but it can be used more than once.

So if you have a 4,000 line file and want to put a 'top' link every 400
lines,(*)  you define it once with id and then reference it several times.


(*) Professional webdesigner on a closed course.  Do not attempt.
Previous Message
Next Message

Message thread: