The Forum's Codebox Font

ArkaineArkaine Join Date: 2002-07-12 Member: 914Members
edited November 2002 in NS General Discussion
<div class="IPBDescription">Could you change it to a fixed width?</div> Think you could change the font for the codeboxes to a fixed width? It makes for neat tables and...code.
Otherwise, it's the same as a quotebox.

Just edit the skin's CSS (Cascading Stylesheet).

Replace this:
<!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
#CODE { font-family: Verdana, Arial; font-size: 8pt; color: #333333; background-color: #FAFCFE; border: 1px solid Black; padding-top: 2px; padding-right: 2px; padding-bottom: 2px; padding-left: 2px }
<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
With this:
<!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
#CODE { font-family: courier new; font-size: 8pt; color: #333333; background-color: #FAFCFE; border: 1px solid Black; padding-top: 2px; padding-right: 2px; padding-bottom: 2px; padding-left: 2px }
<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->

Comments

Sign In or Register to comment.