Date:  07/07/2006 07:18:28 AM Msg ID:  003034
From:  Larry Zhang Thread:  003033
Subject:  Re: How to use CSS?
I got the answer from your previous subjests --
 
Just like images, stylesheets, if linked to the document via the <LINK> tag must be stored in the Web tree and referred to using absolute paths (starting with a slash character).  If for example you copy the file mystyle.css in the stylesheets subdirectory of your Web root, you can refer to it with:
<LINK rel="stylesheet" type="text/css" href="/stylesheets/mystyle.css">
 
If the file is simply copied to your Web root directory then all you need is a leading slash before the file name:
<LINK rel="stylesheet" type="text/css" href="/mystyle.css">
 
Sent by Larry Zhang on 07/07/2006 06:52:48 AM:
I created a simple CSS file. and save it as "background.css" under the same folder of my application.
 

hr {color: sienna}
p {margin-left: 260px}

body {background-image: url("images/background.gif")}

 
But I'm unable to use it when my web file has the extension of .fwx.
It works well when you link it using .html file format.
 

<head>

<link rel="stylesheet" type="text/css" href="background.css" />

</head>

 

Regards.