Gazing into my crystal ball I observed "spaghetti" <>
writing in news:VL_bb.2102$ nk.net:
> I know the technical differences between ID and class, but when (in a
> zen/standards/schematic/just-to-be-good sense) is it appropriate to use
> ID or class?
>
> I'm assuming class should be used almost all the time, especially when
> working with style sheets, and that ID should only be used to reference
> particular sections of a document from other documents?
>
>
<div id="header">
<ul><li>menu item 1</li></ul>
</div>
<div id="content">
<h1 class="titles" id="header1">Title</h1>
<p>Something</p>
</div>
<div id="footer">
Copywrite ...<a href="#header1">Head</a>
</div>
Very nice for making templates, especially templates using include files.
--
Adrienne Boswell
Please respond to the group so others can share
http://www.arbpen.com