The code tag is the correct element to use to markup code snippets.
You could add a rule to your CSS to make it preserve white space:

code
{
    white-space: pre;
}

The obvious problem is that it won't preserve the white space when CSS
isn't available. An alternative is to place the code tags between pre
tags.

Best regards,

Gez
_____________________________
Supplement your vitamins
http://juicystudio.com
******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to