<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Thanks for that suggestion. I've installed the WYSIWYG module with
the tinymce editor which looks really good. I have to say I'm not
the world's greatest authority on website design as you can probably
tell, so I'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.<br>
<br>
<br>
On 16/01/11 17:20, Todd wrote:
<blockquote
cite="mid:AANLkTikwsndU3BsnaD7p-08wuf4-r90UaZ-WAZ0okd9z@mail.gmail.com"
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'd like to make. If you'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"><<a moz-do-not-send="true"
href="mailto:ed@linuxcrusaders.org">ed@linuxcrusaders.org</a>></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've just started setting up my own website<br>
<a moz-do-not-send="true" href="http://www.linuxcrusaders.org"
target="_blank">http://www.linuxcrusaders.org</a> with
drupal 7 where I'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'm<br>
not sure this will accomplish it, and besides which it doesn'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'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 moz-do-not-send="true"
href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a>
]<br>
</font></blockquote>
</div>
<br>
</blockquote>
<br>
</body>
</html>