HTML & CSS
My website has over 130 pages and when I originally created it in FrontPage everything linked with my images file without issue. Now I'm redesigning it with CSS and have created a Directory, consisting of 22 folders. I have my stylesheet in the parent folder but i'm having problems with my pages linking to it ouside the individual folders. I'm using:
<link href="style.css" rel="stylesheet" type="text/css" />
Do I need to make the link href more specific to its location? I'm attaching a copy of my parent folder. Any help would be greatly appreciated.
The href in the link tag can be relative to its own position, or absolute. In this case, I would recommend using a relative path.
This should suit your purpose:
<link href="../style.css" rel="stylesheet" type="text/css" />