Goodthing07 Posted April 26, 2012 Share Posted April 26, 2012 (edited) Hello,Up until now Ive always just made my stylesheet and then copied it into each folder with the html page. But now to make it that bit easier I'm wondering how If I put my styleshhet into another folder called CSS what do I have to change in(<link rel="stylesheet" type="text/css" href="../CSS/stylesheet.css" />) to make it so I can import it onto my html file my HomePage folder? Any help would be appreciated, thanks. Edited April 26, 2012 by Goodthing07 Link to comment Share on other sites More sharing options...
Don E Posted April 26, 2012 Share Posted April 26, 2012 If the html file(s) and the CSS directory(folder) is in the same directory(for example, 'ht_docs' or something), then this try this: <link rel="stylesheet" type="text/css" href="CSS/stylesheet.css" /> Link to comment Share on other sites More sharing options...
Goodthing07 Posted April 26, 2012 Author Share Posted April 26, 2012 Thats exactly it.Thanks very much for such a quick and more importantly, accurate, response. Link to comment Share on other sites More sharing options...
dsonesuk Posted April 26, 2012 Share Posted April 26, 2012 Note if you reference any background images for instance, you will have to adjust the url address to the images, as it will change, you may find images currently work as the images are stored in the cache/ history folder but as soon as these are clear it may fail to show. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now