Posted by uranther on 12/04/05 04:57
On Sat, 03 Dec 2005 18:05:53 -0800, Curtis wrote:
>
>> if we use a div=, or if we use class= as
>
> Oops. I meant id= here. I told you I was new to CSS.
>
> The question was whether <div id="foofoo"> was preferred
> over <div class="foofoo"> or not, among other things.
>
>
> ---
>
> Curtis
>
> Visit We the Thinking
> www.wethethinking.com
> An online magazine/forum
> devoted to ideas.
id is for one-time use only. class is for more than one-time use only.
You can select both like so: <div id="special" class="global"> and that
is very useful for cutting and tightening your CSS.
[Back to original message]
|