[thelist] Another CSS question

sasha spam at bittersweet2.com
Sun Jan 5 18:08:00 CST 2003


On Sun, 5 Jan 2003 22:12:03 -0000, Donald Noble <donald at drnoble.co.uk>
wrote:

> Hi evolters,
> just a pondering of mine, when writing css is it better to specify the
> type
> of element it is to be applied to, or just leave the element out...
> 1) div#alpha{}  or  2) #alpha{}
>
> cheers :Donald
>
> (also posted to comp.infosystems.www.authoring.stylesheets)
>
> +-----------------------------------------+
> personal site: http://www.drnoble.co.uk
> +-----------------------------------------+
> http://www.AccessibleComputers.co.uk
> Hardware, Software, Custom built PC Systems
> +-----------------------------------------+
>

If it makes a difference, Netscape 4 would ignore div#alpha, but honor
#alpha.

--
sasha



More information about the thelist mailing list