Also see <a href="http://drupal.org/project/codefilter">http://drupal.org/project/codefilter</a> and <a href="http://drupal.org/project/geshifilter">http://drupal.org/project/geshifilter</a><br clear="all"><div><br></div><div class="gmail_quote">
On Sun, Jan 16, 2011 at 12:44 PM, Edward <span dir="ltr">&lt;<a href="mailto:ed@linuxcrusaders.org">ed@linuxcrusaders.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">


  
    
    
  
  <div bgcolor="#ffffff" text="#000000">
    Thanks for that suggestion. I&#39;ve installed the WYSIWYG module with
    the tinymce editor which looks really good. I have to say I&#39;m not
    the world&#39;s greatest authority on website design as you can probably
    tell, so I&#39;m not exactly sure how to write the CSS class you
    describe. Could you give me any more pointers on that please? <br>
    <br>
    Thanks a lot,<br>
    Ed.<div><div></div><div class="h5"><br>
    <br>
    <br>
    On 16/01/11 17:20, Todd wrote:
    <blockquote type="cite">CSS would probably be your best bet. Define a separate
      class for your code block (something like code.terminal-block) and
      set the background to black, colour to green, and any other
      changes you&#39;d like to make. If you&#39;re using a WYSIWYG module, you
      can define that class in settings to get it to appear in the
      formatting drop down box, as well.<br>
      <br>
      <div class="gmail_quote">On 16 January 2011 11:38, Edward <span dir="ltr">&lt;<a href="mailto:ed@linuxcrusaders.org" target="_blank">ed@linuxcrusaders.org</a>&gt;</span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
          Hi,<br>
          <br>
          I&#39;ve just started setting up my own website<br>
          <a href="http://www.linuxcrusaders.org" target="_blank">http://www.linuxcrusaders.org</a> with
          drupal 7 where I&#39;m trying to post<br>
          various linux tips and code as I go along.<br>
          <br>
          I would like the code blocks to appear with a black background
          and green<br>
          foreground (like a terminal). I tried the geshiphp module,
          though I&#39;m<br>
          not sure this will accomplish it, and besides which it doesn&#39;t
          seem to<br>
          be quite ready for drupal 7 yet. Therefore, I wondered if
          anyone could<br>
          recommend another way of achieving this, perhaps editing the
          css<br>
          stylesheet. I&#39;m not sure if this is also relevant, but I am
          using the<br>
          Mayo theme.<br>
          <br>
          Thanks for any help.<br>
          <br>
          Ed.<br>
          <font color="#888888">--<br>
            [ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a>
            ]<br>
          </font></blockquote>
      </div>
      <br>
    </blockquote>
    <br>
  </div></div></div>

<br>--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br></blockquote></div><br>