Jukka K. Korpela wrote:
> On Mon, 21 May 2007, david wrote:
> 
>> Why would you need to do all that? You just put your inline quotation or
>> program code in its own paragraph and adjust your margins that way. Why
>> would you need to use :before or :after pseudo-elements at all?
> 
> If I have, say, a text paragraph that mentions a program command inside 
> the text, just as it could mention a name, should I switch to completely 
> different markup when the command is so long that it should appear on a 
> line of its own? I don't think so.

If you're only mentioning a single command, sure, that's that span could
be for. But a single command wouldn't be an entire line ... but if you
were to mention a multi-line snippet of code, that WOULD be a paragraph.
At least to me.

Sometimes I think the entire <span> tag doesn't really fit with CSS.
It's conceptually just a <div> that's set to display:inline ... you
could do the same things by simply styling the <em> or <strong> tags
appropriately and (to me) much more semantically. Or using the <code>
tag ...

-- 
David
[EMAIL PROTECTED]
authenticity, honesty, community

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- 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/

Reply via email to