I’m including code snippets in this post:
http://www.parallaxwebdesign.com/pmachine/blog_more.php?id=29_0_1_0_M
I can’t apply CSS formatting to pre (or it isn’t working for some reason) so I tried putting a div with a class within the pre. That changed the pre text from Courier or whatever it is to the font I’m using for my p tags, but still didn’t pick up any of the formatting from the div class.
From my post:
<pre><div class=“coded”>
#
# Alias: Maps web paths into filesystem paths and is used to
# access content that does not live under the DocumentRoot.
# Example:
# Alias /webpath /full/filesystem/path
#
# If you include a trailing / on /webpath then the server will
# require it to be present in the URL. You will also likely
# need to provide a <Directory> section to allow access to
# the filesystem path.
<div></pre>
My CSS:
div.coded {
font-size: 0.8em;
font-family: “Courier New”, Courier, monospace;
color: #8E8F0D;
background-color: transparent;
border: 1px solid #006;
}
What am I doing wrong?
