I would do it this way: <code class="codeblock"> int foo (int a, int b) { <br /> /* do stuff here */ <br /> } <br /> </code>
And use the css: code.codeblock { display: block; } Is this OK, or do you find anything unacceptably wrong here? Looks better than a PRE to me. Prabhath http://nidahas.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 ******************************************************