By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,238 Members | 1,661 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,238 IT Pros & Developers. It's quick & easy.

My header image won't show up in Firefox but works fine in Safari.

P: 1
Hi. My hosting company recently updated my server and I think all the sudden, though it could be related to something else, the background image I put in my custom.css file will not work correctly.

The URL of my website is www.miripiriacademy.org.

In the custom.css file I have the following code:

Expand|Select|Wrap|Line Numbers
  1. #header {
  2. clear: both;
  3. padding: 0;
  4. margin: 0 auto;
  5. background-image: url("http://www.miripiriacademy.org/wp-content/uploads/2012/02/header.png") top left no-repeat;
  6. height: 140px;
  7. width: 980px;
  8. }
  9.  
When I run the error console in Firefox I get a huge list of errors but they almost all say:

Warning: Error in parsing value for 'background-image'. Declaration dropped.

I had the exact same CSS for years and never had a problem with this image until now. I have tried a variety of fixes but no dice. Any suggestions?? Thanks!

Saraswati
Feb 24 '12 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.