|
Posted by Jukka K. Korpela on 03/21/07 15:26
Scripsit Jonathan N. Little:
> Andy Dingley wrote:
- -
>> <span>Some text</span><br />
>>
>> makes perfect sense in many of the more general cases, such as where
>> it's within a larger block of text. Your posting is potentially
>> misleading, if read out of context.
>
> If you use style you have more presentational flexibility:
And less. I'm not sure I see what you are really discussing, and the Subject
line seems to be rather far from it. But if correcting potentially
misleading statements is the theme here, I'll offer my 0.02 euros:
> <span class="properName">The Name</span> more info...
>
> If you want the "properName" displayed on its own line
>
> SPAN.properName { display: block; }
Yes, but that corresponds to
<br><span>...</span><br>
and cannot be used if you want the content of the span appear inline, just
followed by a line break. That is, there is no effective way of causing just
one line break in CSS. (Using generated content doesn't count, since it's
not supported by IE.)
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
Navigation:
[Reply to this message]
|