I'm new to bootstrap and overall web design. Using the original bootstrap.css and the bootstrap's default html file, I added this as my custom css :
body {
margin: 0;
background: url("some image url");
background-position: center top;
background-size: 1440px 800px;
background-repeat:no-repeat;
display: compact;
}
and it works fine on chrome but it doesn't show up on IE or firefox. Using firebug I inspected the css and got this :
body {
background: url("some image url") repeat scroll center top / 1440px 800px rgba(0, 0, 0, 0);
margin: 0;
}
But I still can't figure out where the problem is. Is there any other way to write the simple CSS snippet so IE and firefox can work with it?
edit : I fixed the semi colon issue but still not showing up. Firebug showing :
body {
margin: 0;
background: url("some image url");
background-position: center top;
/* background-size: cover; */
background-size: 1440px 800px;
background-repeat:no-repeat;
display: compact;
}
EDIT : I had to put the direct path to the image vs using a url. Thank you all for your suggestions and help!