random1 Posted June 24, 2010 Share Posted June 24, 2010 Hey All, I'm trying to apply a 'color scheme' to my CSS stylesheet. In my sheet I have selectors for body and #footer. I have this code at the bottom of the file: /* Start Green Scheme */ body { background-color:green; color:white; } #footer { background-color:green; color:white; } /* End Green Scheme */ Yet they don't apply. Isn't CSS processed by the browser top down with repeating selectors at the bottom taking precedence? Any suggestions? Quote Link to comment https://forums.phpfreaks.com/topic/205742-adding-color-scheme-to-a-stylesheet/ Share on other sites More sharing options...
random1 Posted June 24, 2010 Author Share Posted June 24, 2010 I found out what was wrong. Quote Link to comment https://forums.phpfreaks.com/topic/205742-adding-color-scheme-to-a-stylesheet/#findComment-1076613 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.