Linking to stylesheet in parent folder

admin

Administrator
Staff member
Hi All, <br />
<br />
Newbie here! <br />
<br />
The website I am currently working on uses frames. Some of the pages which are displayed in the main frame are in a subfolder of the web. I need those pages to link to the CSS file in the root of the web. I have the following: <br />
<br />
<link href=http://www.htmlforums.com/archive/index.php/"../style.css" rel="stylesheet" type="text/css"> <br />
<br />
This works if I look at the page on its own (ie not in the frameset), but as soon as the page is viewed properly in the frameset it does not reference the stylesheet correctly.... <br />
<br />
Any help/advice would be much appreciated. <br />
<br />
TIA, <br />
<br />
Mark Ayling<!--content-->ok?<br />
<br />
maybe you can put the code of the css,<br />
than can i put what is wrong.<br />
<br />
maybe are the frames not good, <br />
i don't know<!--content-->Thanks for replying...<br />
<br />
I know the CSS is fine, as it works with all the other pages on the site.<br />
<br />
The frameset is also fine, for the same reason.<br />
<br />
As I said, the page/stylesheet works fine if I look at the page directly, just not within the frameset....?<br />
<br />
:confused:<!--content-->is it possible to give a link,<br />
then i can see maybe what the problem is<!--content-->It should work, even in the frameset. Mine does. Maybe you should give a link so we can check it out.<!--content-->
 
Back
Top