| 
 Posted by Blinky the Shark on 09/28/07 19:55 
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; 
> } 
 
Thanks for this idea. 
 
 
--  
Blinky                                                   RLU 297263  
Killing all posts from Google Groups 
The Usenet Improvement Project moved to this site August 28th: 
http://improve-usenet.org
 
  
Navigation:
[Reply to this message] 
 |