CSS dynamically placed into <head> of requested template:
perhaps use CFHTMLHEAD, not included in the main included
page, but set there and referenced after the include in the
requested template.
requested template
cfinclude main template
cfinclude(s) <set css name>
cfhtmlhead <use css name or default>
response
regards,
dave
-----Original Message-----
From: John Allred [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 30, 2001 10:23 AM
To: CF-Community
Subject: Re: CSS Hell with Netscape 4.7
Erika,
Aside from lack of support for certain CSS features (and, of course,
that's a BIG aside), I've found NS 4.x to have little problem with CSS.
If you want to CFINCLUDE the stylesheet, I suggest you write it as an
inline stylesheet (develop the page with the style sheet hard coded and
make it work there, then put the code in your database or external
file). If you link it as an external stylesheet, the link has to be
between the head tags.
HTH,
--John
Erika L Walker wrote:
>
> OK. I give up. <<<----ready to throw self off of zoo roof.
>
> I have the following style:
>
> ..menu{
> font-family : Verdana;
> font-style : normal;
> font-weight : bold;
> font-size : xx-small;
> font : Verdana;
> }
>
> A.menu{
> font-color: White
> }
>
> A.menu:link {color:White; background-color:transparent;
> text-decoration:none;}
> A.menu:visited {color:White; background-color:transparent;
> text-decoration:none;}
> A.menu:active {color:White; background-color:transparent;
> text-decoration:none;}
> A.menu:hover {color:#000066; background-color:transparent;
> text-decoration:underline;}
>
> Included in the top of a menu page, which is then CFincluded into the main
> pages. Works GREAT in IE, looks FANTASTIC in IE. Won't show up in
Netscape.
> I have given every tag in the table (tr, td, p, a) including the table tag
> the class="menu" name=value pair.
>
> Still doesn't work in Netscape. Is my style syntax incorrect? Is there
> something else I should be doing? Does Netscape insist on having this
stuff
> included in between the <head></head> tags?
>
> <whine>why can't netscape play the game like all the other boys and
> girls???????</whine>
>
> Erika
>
> "What cannot be figured out, must be pummeled into small pieces and thrown
> away." - ELWalker
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists