That worked great. Thanks a bunch
Doug
----- Original Message -----
From: "Jim McAtee" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, December 21, 2001 11:42 PM
Subject: Re: Why does htmlCodeFormat change font
> Either use HTMLCodeFormat and CSS to set a style for <pre> tags:
>
> <style type="text/css">
> pre {
> font-family: verdana;
> font-size: 10pt;
> }
> </style>
>
> #HTMLCodeFormat(somevariable)#
>
>
> or else use HTMLEditFormat, and enclose it in <pre> tags yourself with
a
> designated style class:
>
> <style type="text/css">
> code {
> font-family: verdana;
> font-size: 10pt;
> }
> </style>
>
> <pre class="code">
> #HTMLEditFormat(somevariable)#
> </pre>
>
>
> Jim
>
>
>
> ----- Original Message -----
> From: "Douglas Brown" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Saturday, December 22, 2001 12:28 AM
> Subject: Re: Why does htmlCodeFormat change font
>
>
> > I tried using HTMLEditFormat, but it removes all carriage returns and
run
> > s
> > everything together. I need to be able to output HTML code so that th
e
> > browser does not try to render it, but would like my fonts to stay
accura
> > te.
> > Any other suggestions?
> >
> >
> >
> > Doug
> >
> >
> >
> > ----- Original Message -----
> > From: "Garza, Jeff" <[EMAIL PROTECTED]>
> > To: "CF-Talk" <[EMAIL PROTECTED]>
> > Sent: Friday, December 21, 2001 11:11 PM
> > Subject: RE: Why does htmlCodeFormat change font
> >
> >
> > > I beleive that when HTMLCodeFormat() is used the entire code block
is
> > > wrapped with <PRE> tags. This would effectively negate your style
> > > sheets.
> > > To show the code with fancy formatting, try using the HTMLEditForma
t()
> > > function.
> > >
> > > Cheers,
> > >
> > > Jeff Garza
> > >
> > > -----Original Message-----
> > > From: Douglas Brown
> > > To: CF-Talk
> > > Sent: 12/22/01 12:12 AM
> > > Subject: Why does htmlCodeFormat change font
> > >
> > > I am outputting with htmlCodeFormat and it seems like when I do it
> > > ignores the stylesheet. Why is this and can it be corrected?
> > >
> > >
> > > Thanks
> > >
> > >
> > > Doug
> > >
> > >
> > >
> >
>
______________________________________________________________________
Get Your Own Dedicated Windows 2000 Server
PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
Instant Activation � $99/Month � Free Setup
http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists