> | > 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? > | > | Not really, except from an HTML validation point of view. The > | LINK tag should be placed within the document head, not > | before the entire HTML document, which is typically where it > | would be if you put it in via Application.cfm. > > So wouldn't it be simple then to assign a var from the > application.cfm file to the "HREF=" name? > > I.e., > > <LINK REL="STYLESHEET" TYPE="text/css" > HREF="<cfoutput>#varfromapplicationfile#</cfoutput>">
Yes, that would work fine. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ______________________________________________________________________ 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/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists