morty Posted March 23, 2010 Report Posted March 23, 2010 I'm a beginner at this and am just working at putting up my own pages. Working from Stefan Mischook's instructions I created a very nice index (home) page using the <limk href=root.css rel="stylesheet" type="text.css"> command and <div id="xxxx"> tags to separate various parts of the page. This was done several simple lines in the root.css file. When I apply exactly the same method to other text pages that are linked to the home page, css commands added to the root.css file have no effect. Would appreciate help or being aimed at instructions that would identify my problem. Quote
newseed Posted March 23, 2010 Report Posted March 23, 2010 Are the other html pages in the same folder as the home page? If not, then you will need to change the css link to the correct path for the pages that are in the different folder(s). The path below tells it to find the root.css file one folder back or up one level as some people call it. <link href=../root.css rel="stylesheet" type="text.css"> Quote
morty Posted March 23, 2010 Author Report Posted March 23, 2010 Are the other html pages in the same folder as the home page? If not, then you will need to change the css link to the correct path for the pages that are in the different folder(s). The path below tells it to find the root.css file one folder back or up one level as some people call it. <link href=../root.css rel="stylesheet" type="text.css"> Quote
morty Posted March 23, 2010 Author Report Posted March 23, 2010 Thanks for the reply. The index.html, root.css and the other html paages are in the same folder. Quote
Andrea Posted March 23, 2010 Report Posted March 23, 2010 <limk href=root.css rel="stylesheet" type="text.css">Is this a copy/paste out of your code? Check the spelling of 'link'! Quote
morty Posted March 23, 2010 Author Report Posted March 23, 2010 Actually it's just a typo on my posting. It's correct in the file. Quote
Andrea Posted March 23, 2010 Report Posted March 23, 2010 What do you mean by 'text pages'? Can you post the code and the exact file name you gave them? Quote
virtual Posted March 23, 2010 Report Posted March 23, 2010 If your other pages are not using the extension .html they remain text files, not html files viewable through a browser. Be careful also that you do not have a double extension for example about.html.txt Quote
morty Posted March 24, 2010 Author Report Posted March 24, 2010 Thanks to those of you who tried to help me. The problem got solved when I put in a link color. The reason for that result is too subtle for me. But anyway, problem solved. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.