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

Raymond Camden jedimaster at macromedia.com
Thu Aug 1 09:43:00 CDT 2002


So in the naming syntax of

foo#goo {

}

Everything before the # is ignored?

-Ray

> -----Original Message-----
> From: thelist-admin at lists.evolt.org
> [mailto:thelist-admin at lists.evolt.org] On Behalf Of Simon Willison
> Sent: Thursday, August 01, 2002 10:26 AM
> To: thelist at lists.evolt.org; thelist at lists.evolt.org
> Subject: RE: [thelist] I've found a great use for <span>
>
>
> At 10:13 01/08/2002 -0400, Raymond Camden wrote:
> >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?
>
> That's a tip I picked up from Eric Meyer on css-discuss the
> other day. It
> basically makes your CSS a tiny bit more readable - you can
> see what kind
> of element the styles are applied to by looking at the
> selector, rather
> than having to check through your HTML for the specific ID
> and find out





More information about the thelist mailing list