Posted by Blinky the Shark on 09/29/07 04:25
Jonathan N. Little wrote:
> Blinky the Shark wrote:
><snip>
>
>> <pre>
>> <code>
>>
>
> One could say that the use of PRE to format multiline code snippet is
> presentational and not semantic, like B, I, BIG & SMALL... Personally
> what I do is just create a class for larger multiline code snippets.
>
> code.bigSnippet {
> display: block; margin: .5em 1em; padding: .5em;
> border: 1px solid #ccf; white-space: pre;
> }
Second Response
I adapted this to the site, and while I was at it converted nearly all
dimensioning to ems. I like the result; thanks for the solution *and*
for the inadvertent prod to lose the px values.
--
Blinky RLU 297263
Killing all posts from Google Groups
The Usenet Improvement Project - http://improve-usenet.org
[Back to original message]
|