Hi,

I am wondering how should i create a CSS file(myfile.css), which i can use the <link> HTML tag to call it? I try the example below to link to my css file, but it seem like can't work with the CSS file i created.

e.g : <link rel="stylesheet" href="/stylesheets.css">

Thanks
Louis

p/s: I have some PHP script in the CSS part.

    Maybe if you use the link tag, you can do:

    class="something"
    or
    id="something" in another html tag

      if you want php code inside your css file you have to give the file a .php extension that will be parsed by your server. this works fine for me:

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

        Write a Reply...