Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Oct 2009
    Posts
    189
    Thanks
    38
    Thanked 3 Times in 3 Posts

    link href not finding stylesheet

    Hey all,

    I have a simple link tag in head tag:

    Code:
    <link rel="stylesheet" type="text/css" href="../public/stylesheets/application.css" />
    The file is located in template.php. The directory it's in is called views and a directory called public is at the same level as views. So I go one directory up to get to public and then there's a directory called stylesheets in public and a file called application.css within that. So I am not sure why the browser can't find the stylesheet.

    Thanks for response.

  • #2
    Senior Coder
    Join Date
    Aug 2006
    Posts
    1,224
    Thanks
    10
    Thanked 269 Times in 268 Posts
    Is this online where you can give us a link? As you describe it, it should work. So there's something more to it... Perhaps some upper/lower case difference? Perhaps the directories aren't as you think, or something's spelled differently?

    Dave


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •