Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 04-17-2011, 06:31 PM   PM User | #1
johnmerlino
Regular Coder

 
Join Date: Oct 2009
Posts: 189
Thanks: 38
Thanked 3 Times in 3 Posts
johnmerlino is an unknown quantity at this point
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.
johnmerlino is offline   Reply With Quote
Old 04-17-2011, 09:09 PM   PM User | #2
tracknut
Regular Coder

 
Join Date: Aug 2006
Posts: 891
Thanks: 4
Thanked 205 Times in 204 Posts
tracknut is an unknown quantity at this point
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
tracknut is offline   Reply With Quote
Reply

Bookmarks

Tags
external stylesheet, link

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:14 PM.


Advertisement
Log in to turn off these ads.