944,120 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Unsolved
  • Views: 2054
  • ASP.NET RSS
Nov 7th, 2007
0

background-color:"9E0039" works in IE but not mozilla, solution?

Expand Post »
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???
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
u4umang2001 is offline Offline
28 posts
since Nov 2007
Nov 7th, 2007
0

Re: background-color:"9E0039" works in IE but not mozilla, solution?

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

Change it to that and it should be kosher.
Reputation Points: 53
Solved Threads: 33
Posting Whiz in Training
bugmenot is offline Offline
224 posts
since Nov 2006
Nov 7th, 2007
0

Re: background-color:"9E0039" works in IE but not mozilla, solution?

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;
Reputation Points: 43
Solved Threads: 68
Veteran Poster
SheSaidImaPregy is offline Offline
1,080 posts
since Sep 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: Big Repeater Question for you all
Next Thread in ASP.NET Forum Timeline: How to split datetime format?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC