Lenny
Lenny

Reputation: 97

CSS background-image showing in Chrome but not IE or Firefox

Below is the CSS for my main content section of my site. The background image shows in Chrome, but not in IE11 or Firefox. Any idea why?

#maincontent
{
    position: relative;
    width: 100%;
    min-height: 200px;
    height: auto !important;
    background-image: url(images/money-background.png);
    background-position: top; 
    background-repeat: repeat-x;
}

Upvotes: 0

Views: 1012

Answers (1)

Nikita 웃
Nikita 웃

Reputation: 2060

You should change <main id="maincontent"> to <div id="maincontent">

Upvotes: 1

Related Questions