What's the problem with referencing the stylesheet in the application.cfm 
file? I have done this on several websites and never seen a problem before.

Here's the code I use:

<LINK REL="STYLESHEET" TYPE="text/css" HREF="stylesheet.css">

Is there an issue with doing it this way?

Thanks,

Mike


At 2/28/2002 09:46 PM, you wrote:
>I'm not sure, but I agree that the header.cfm is the way to go.
>
>_____________________________
>steve oliver
>senior internet developer
>atnet solutions, inc.
>http://www.atnetsolutions.com
>
>
>-----Original Message-----
>From: Paul Giesenhagen [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, February 28, 2002 9:39 PM
>To: CF-Talk
>Subject: Re: Attaching CSS style sheet
>
>
>Steve,
>
>Wouldn't the <cfhtmlhead> in the application.cfm file place two headers
>o
>n
>each page?
>
>It would seem the best would be to create a header.cfm file that
>included
>information like stylesheets, and other repetitive information.
>
>Paul Giesenhagen
>QuillDesign
>http://www.quilldesign.com
>SiteDirector - Commerce Builder
>
>----- Original Message -----
>From: "Steve Oliver" <[EMAIL PROTECTED]>
>To: "CF-Talk" <[EMAIL PROTECTED]>
>Sent: Thursday, February 28, 2002 8:35 PM
>Subject: RE: Attaching CSS style sheet
>
>
> > 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