I appreciate your responses {Billy, Dave W., min, David R}.
CFHTMLHEAD was designed to do exactly what I need; I had just overlooked
it.  A simple CFHTMLHEAD call did the trick for me.  (And I can easily
see confusing it with CFHEADER.)
I am wary of the idea of ignoring the HTML spec.
-David S.

On Thu, 18 May 2000 Dave Watts writes:
> > > Application.cfm seems like a good place to LINK in external
> > > style sheets. This works fine, but this means that the LINK
> > > tag comes before each page's HTML and HEAD tags. According
> > > to my O'Reilly HTML book the LINK tag belongs *within* the
> > > HEAD tag.  I wonder if putting LINK in Application.cfm is
> > > inviting trouble.  Any thoughts?
> ...
> > cfheader should do the trick
> >
> > <cfheader text="<link rel=......>">
> 
> The CFHEADER tag creates HTTP response headers; it doesn't write to 
> the
> document HEAD. For that, you need to use CFHTMLHEAD:
> 
> <CFHTMLHEAD TEXT="put me in the head">
> 
> However, you might find it difficult to put complex strings in the 
> TEXT
> attribute; you'll have to escape quotes, and you won't be able to 
> have line
> breaks. You can work around this by creating a custom tag with a 
> start and
> end execution mode, which reads its contents and calls CFHTMLHEAD:
> 
> <!--- CF_HTMLHEAD custom tag --->
> <CFIF ThisTag.ExecutionMode IS "End">
>       <CFHTMLHEAD TEXT="#ThisTag.GeneratedContent#">
>       <CFSET ThisTag.GeneratedContent = "">
> </CFIF>
> <!--- end CF_HTMLHEAD custom tag --->
> 
> ...
> 
> <!--- using CF_HTMLHEAD custom tag in application.cfm --->
> <CF_HTMLHEAD>
> <META NAME="foo" VALUE="bar">
> <META NAME="foo2" VALUE="bar2">
> ...
> </CF_HTMLHEAD>
> 
> Dave Watts, CTO, Fig Leaf Software
________________________________________________________________
YOU'RE PAYING TOO MUCH FOR THE INTERNET!
Juno now offers FREE Internet Access!
Try it today - there's no risk!  For your FREE software, visit:
http://dl.www.juno.com/get/tagj.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to