Hi
This is Umang...

i m using background-color:"9E0039" in a stylesheet.css file
it is working in IE but not working in Mozilla fire fox. if i use the color name (eg. GREEN) instead of color code (eg. 9E0039) it works in Mozilla fire fox also. What should i do so that color code also work in Mozilla fire fox???

Recommended Answers

All 2 Replies

If that is your actual code it should be background-color:#9E0039;

Change it to that and it should be kosher.

never use quotes in CSS unless you are combining words, like a font-famiily: "Times New Roman". And for colors, you should always [put the # before it (#9E0039). So yes, change it to bugmenot's suggestion
background-color:#9E0039;

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.