Jammin87 Posted May 21, 2014 Share Posted May 21, 2014 Hi, I'm using sublime editor to create a css. I want to use the colour: #5c5cd6, a bluish colour. However, the letters are not being recognised in the editor and show as white when they usually turn purply. Any idea's?? Thanks, Ben W Link to comment Share on other sites More sharing options...
Ingolme Posted May 21, 2014 Share Posted May 21, 2014 I think the problem is probably that your editor doesn't highlight values for incorrect property names. The CSS property is "color:" rather than "colour:" Link to comment Share on other sites More sharing options...
Jammin87 Posted May 21, 2014 Author Share Posted May 21, 2014 Hi, thanks for the reply. I am using the shorthand css looks something like this: body { background: #5c5cd6; etc et. I have checked and the spelling is correct. ("color"). I have worked around it by using the rgb method but it's just bugging me. Thanks again, Link to comment Share on other sites More sharing options...
Ingolme Posted May 21, 2014 Share Posted May 21, 2014 I'm not sure how your text editor works, try using uppercase letters: #5C5CD6 Link to comment Share on other sites More sharing options...
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