Jared Nielsen wrote:
 is it true that each "line" within a span
is treated as it's own "box"?

Each character has it's character-box (= em-box). These em-boxes build the content area, and together with the leading (= line-height - font-size), the inline-box is build.

The different font-sizes and line-heights that may occur in one line build different inline-boxes. These inline-boxes determine the overall line-box of a line.

With the border, you are visualizing the content-area (+ padding) of every line within that span.

span {border: 1px solid red;}
span.intheline {font-size: 4em;}

<span>Lorem <span class="intheline">ipsum</span> dolor sit amet,...</span>


Ingo

--
http://www.satzansatz.de/css.html
______________________________________________________________________
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