Donna,
Thanks. I understand how span works. Just wanted to here how they had
been obsoleted :). I guess that I misunderstood the statement.
Wes
Donna Casey wrote:
>Wes Gamble wrote:
>
>
>>I saw a comment on the list recently that the <SPAN> tag was obsolete.
>>
>>Can anyone explain how that is?
>>
>>
>
>It isn't. Using a span is a great way to hang a class or contextual
>style on an inline element inside a paragraph or list item, for example.
>
><p class="foo">some text here is blue. but <span>this text</span> is
>red.</p>
>
>p.foo {
>color:blue;
>}
>.foo span {
>color:red;
>}
>
>simplified, but you get the idea, right? You could as easily create a
>span class rather than use the contextual approach, but that would mean
>actually applying the class to more elements, whereas you could simply
>have as many spans occur within a specific container and the rule
>automatically applies without affecting non "foo" spans.
>
>Donna
>______________________________________________________________________
>css-discuss [EMAIL PROTECTED]
>http://www.css-discuss.org/mailman/listinfo/css-d
>IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
>List wiki/FAQ -- http://css-discuss.incutio.com/
>Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
>
>
>
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/