jodygrenier Posted June 16, 2010 Report Share 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! Quote Link to comment Share on other sites More sharing options...
Andrea Posted June 16, 2010 Report Share 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. Quote Link to comment Share on other sites More sharing options...
jodygrenier Posted June 16, 2010 Author Report Share Posted June 16, 2010 Yes, it's in the same directory as the index file and the file name is the same. Quote Link to comment Share on other sites More sharing options...
Andrea Posted June 16, 2010 Report Share Posted June 16, 2010 What program are you using to write your code? Quote Link to comment Share on other sites More sharing options...
jodygrenier Posted June 16, 2010 Author Report Share 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. Quote Link to comment Share on other sites More sharing options...
Andrea Posted June 16, 2010 Report Share 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 Quote Link to comment Share on other sites More sharing options...
jodygrenier Posted June 16, 2010 Author Report Share 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! Quote Link to comment Share on other sites More sharing options...
jodygrenier Posted June 16, 2010 Author Report Share 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! Quote Link to comment Share on other sites More sharing options...
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.