The first one should work, but I don't think your supposed to include
html or scripts in the application.cfm.  

If you need something like that make a header.cfm and cfinclude it in
your documents.

I believe it has to be in the <head> of the page also.


But if you really need it in your application.cfm, you could try
something like this:

<cfhtmlhead text="<LINK href=""css/ifma1.css"" rel=""stylesheet""
type=""text/css"">">


_____________________________
steve oliver
senior internet developer
atnet solutions, inc.
http://www.atnetsolutions.com


-----Original Message-----
From: Mark Leder [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, February 28, 2002 9:24 PM
To: CF-Talk
Subject: Attaching CSS style sheet 


How does one call a CSS from the application.cfm file.  I've
 tried 
the following two methods with no effect:

1) <LINK rel="stylesheet" href="/css/ifma1.css" type="text/css">
2) <cfinclude template = "css/ifma1.css">

The Css directory is under the application.cfm file.

Thanks for your help.

Mark

-- 
Mark Leder, [EMAIL PROTECTED] on 02/28/2002


______________________________________________________________________
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=coldfusiona
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

Reply via email to