the tag should always appear in the section of
the generated HTML document, unless your application.cfm also includes
this section, putting the in there would cause it to appear
outside the section.
i.e it's makes for bad HTML.
On Sat, 2002-03-02 at 10:06, WebMaster wrote:
> What's the pro
I think you also need a tag in ther, but I'm not
sure...
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 01, 2002 1:52 PM
To: CF-Talk
Subject: RE: Attaching CSS style sheet
> If you are trying to dynamically assign a style sheet for
>
> If you are trying to dynamically assign a style sheet for
> each page, you could do the following:
>
>
>
> Title
>type="text/css">
>
>
> ..
>
>
>
> Them, in your styles.cfm page, you could have:
>
>
>
>
>
>
>
> ...
In general, if you can avoid dynamically generating sty
> | > 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:
> | >
> | >
> | >
> | > Is there an issue with doing it this way?
> |
> | Not really, exc
If you are trying to dynamically assign a style sheet for each page, you
could do the following:
Title
..
Them, in your styles.cfm page, you could have:
body { font-family: Verdana; font-size: 11px; }
input { font-family: Arial; fo
So wouldn't it be simple then to assign a var from the application.cfm
file to the "HREF=" name?
I.e.,
| -Original Message-
| From: Dave Watts [mailto:[EMAIL PROTECTED]]
| Sent: Friday, March 01, 2002 1:16 PM
| To: CF-Talk
| Subject: RE: Attaching CSS style sheet
|
> 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:
>
>
>
> Is there an issue with doing it this way?
Not really, except from an HTML validation point of view.
t;Sent: Thursday, February 28, 2002 9:39 PM
>To: CF-Talk
>Subject: Re: Attaching CSS style sheet
>
>
>Steve,
>
>Wouldn't the in the application.cfm file place two headers
>o
>n
>each page?
>
>It would seem the best would be to create a header.cfm
ry 28, 2002 9:39 PM
To: CF-Talk
Subject: Re: Attaching CSS style sheet
Steve,
Wouldn't the 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 informat
ector - 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
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 of the page also.
But if you really need it in your application.c
We usually stuff the section of a
CFM page.
Robert Miller
-Original Message-
From: Mark Leder [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 28, 2002 7: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
12 matches
Mail list logo