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? 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. 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
Archived
This topic is now archived and is closed to further replies.