Il giorno 30/set/05, alle ore 05:14, Jeff Rechten ha scritto:

I have been sing CSS for the last year and I feel fairly versed in
getting some rather complex sites up and validated. One thing I never
really wrapped my head around just yet is what circumstances
you would use a <span> style and what it is exactly
Anyways, please pass any explanations on. Thanks
Adam



I would say that I find myself using the <span> when I style something inside an inline element like a <p>.

<p> is a block element!
Otherwise, I could see adding a <span> to almost any element, even block-level elements to add more specificity to a style sheet.
example:
[code]
<p>If I want to <span>style</span> a page, I add a style sheet.</p>
[/code]
Now, I can select the <span> inside the <p> element to style only the word "style" any way I choose.

I'm no expert, so what is a good example in adding a span inside a block-level element?

Jeff Rechten
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


--
Perchè un ubriaco si misura sempre la pressione?
Perchè la pressione si misura in Bar!
ilduca69




______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to