[thelist] I've found a great use for <span>

Raymond Camden jedimaster at macromedia.com
Thu Aug 1 09:14:01 CDT 2002


> <div id="horizontalMenu">
> <a href="page1.html">Page 1</a><span> | </span>
> <a href="page2.html">Page 2</a><span> | </span>
> <a href="page3.html">Page 3</a><span> | </span>
> <a href="page4.html">Page 4</a><span>
> </div>
>
> And here's the CSS:
>
> div#horizontalMenu a {
>    display: block;
>    float: left;
>    width: 10em;
>    background-color: #f00;

Probably a simple CSS question - why do you name your item:

x#y z

What does the # imply? If you give something an id, then isn't it enough
to just use the ID, in this case, y, instead of x#y?

-ray





More information about the thelist mailing list