CRT Formatter


What

Installation

File: formatters/crt.php
<?php
    echo '<div class="code_crt">';
    print('<pre>'.htmlspecialchars($text, ENT_QUOTES).'</pre>');
    echo '</div>';
?>


It also requires a small addition to the CSS file (Taken from .code selector)
.code_crt {
    color: lime;
    background: black;
    border: 1px solid #CCC;
    font-size: 11px;
    font-family: "Lucida Console", Monaco, monospace;
    width: 95%;
    margin: auto;
    padding: 6px 3px 13px 3px; 
    text-align: left;      
    overflow: auto;    
    white-space: nowrap;   
}



To Do


CategoryUserContributions
There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki