jodygrenier Posted June 16, 2010 Report Posted June 16, 2010 I'm doing the CSS portion of the Web Design 1 videos and I can't figure out why the root.css page I created isn't affecting my index.html page. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>web design - tutorials: HOME</title> <META NAME="description" content="Learn webdesign."> <META NAME="keywords" content="web design, web designers, creating a website"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link href="root.css" rel="stylesheet" type="text/css"> </head> I'm using Mozilla Firefox and everything thus far has worked well, any help much appreciated!
Andrea Posted June 16, 2010 Report Posted June 16, 2010 Is your root.css file saved in the same directory as your index file? Check the file name - it's case sensitive.
jodygrenier Posted June 16, 2010 Author Report Posted June 16, 2010 Yes, it's in the same directory as the index file and the file name is the same.
Andrea Posted June 16, 2010 Report Posted June 16, 2010 What program are you using to write your code?
jodygrenier Posted June 16, 2010 Author Report Posted June 16, 2010 I'm following the Web Design 1 tutorials, so I'm not using any program or web design software yet. I'm writing the code on notepad, using Windows XP and I'm using the latest version of Mozilla Firefox as the browser.
Andrea Posted June 16, 2010 Report Posted June 16, 2010 Maybe notepad is adding a .txt after the file name you're giving - see this ol' thread for a possible fix: http://www.killersites.com/mvnforum/mvnforum/viewthread_thread,4951
jodygrenier Posted June 16, 2010 Author Report Posted June 16, 2010 I can't access the link you provided...but the file is saved as root.css.txt, should it be saved solely as .css? Is there an easy way to rectify this? Thanks a lot for all your help!
jodygrenier Posted June 16, 2010 Author Report Posted June 16, 2010 I got it!LOL I saved it as .css instead of the existing .css.txt, that was the problem. Thanks again for all your help Andrea!
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