View Full Version : XMP Tag


CynderChyld
04-11-2003, 01:50 AM
Whenever I use the xmp tag to show codes the code is shown but it's in courier font or something and it's so small that its hard to see. Is there any way to format the font and size of how the code shows up so that people can actually see it? I tried to do the same font settings I have in the body font tag in my stylesheet but place them after xmp (which I don't know if that works but I guessing) and it just made the code smaller than before. I'll be grateful for any ideas.

epolady
04-11-2003, 02:34 AM
In your CSS add:

xmp{
font-size: 11px;
font-family: verdana;
}

add/delete what you need.

zangerbanger
04-11-2003, 02:40 AM
in your css add this:

<style type="text/css">
<!--
P{
color: color;
font-size: size;
font-face: face;
font-weight: bold, normal?;
text-decoration: overline? underline?;}
-->
</style>

After that, go like this in your <xmp> tags:

<xmp>
<p> YOUR HTML CODES </p>
</xmp>

Hope that helps!