My experience with css has led me to always use an actual path when linking to
stylesheets. It's easiest and you can add that same tag to any page at any level
in your site if you give it a reative path to the root.

use "/Styles.css" if you are in the root directory of the web.

Try this for the same directory "./Styles.css"

Also, when working with css across browsers, make sure you are case-sensitive,
netscape won't usually match unless it's exact.

Cy Huckaba


"Andy Nagai" <aanagai@earthlink.net> wrote in message
news:ZKQJa.10010$C83.983644@newsread1.prod.itd.ear thlink.net...
> Hi
>
> I have a basic css class:
>
> .TextBoxStyle
> {
> border-right: blue double;
> border-top: blue double;
> font-size: medium;
> border-left: blue double;
> color: white;
> border-bottom: blue double;
> background-color: #6699cc;
> }
>
> in a .css file in the root web folder. same folder as aspx file. I reference
> the css file like this in the aspx file in the head:
>
> <LINK href="Style.css" type="text/css" rel="stylesheet">
>
> Now the textbox just displays normal when i run the page. none of the style
> is applied. When i insert the css class directly in the aspx file, it
> displays like it supposed to. But when i link to the css file, nothing
> happens. For some reason linking to the css file doesnt work. Anyone
> encounter this?
>
>
>
>