PC Nerd Posted May 12, 2007 Share Posted May 12, 2007 hi guys, im relativly new to CSS, and have started sing it on my site........ except that i can ony see the color in IE7. my code is below. body {background-color: "#004400"; color: "#ffaa00"; font-size: "12";} ................ thats the bit that defines the background color and stuff is it simply that im using the wrong syntax, or is it my browsers ive been testing in firefox, opera, IE7 and mozilla, all different browsers, and the same result.......... all my widths etc in the CSS are working, just not the color if anyone needs the full style sheet, let me know, or go to http://www.battleages2.com/B_A-CSS.css thankyou Quote Link to comment Share on other sites More sharing options...
calabiyau Posted May 12, 2007 Share Posted May 12, 2007 I think you need to remove the quotes around your colors. I don't think that is valid code and it may just be that internet explorer is more lenient with it's interpretation of CSS. Quote Link to comment Share on other sites More sharing options...
PC Nerd Posted May 13, 2007 Author Share Posted May 13, 2007 thats got it, thanks guys 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.