When working with my .CSS file:
Initially, applying the following styling:
body {
font-size: .85em;
font-family: "Segoe UI", Verdana, Helvetica, Sans-Serif;
color: #232323;
background-color: #fff;
background: url('Images/Login_Background.jpg');
background-repeat: no-repeat;
background-attachment: fixed;
background-color: #FFFFFF;
background-position: center center;
background-size: 100% 100%;}
The
background-image:url('Images/Login_Background.jpg');
functions correctly
However, when I create an ID like:
#login {
background: url('Images/Login_Background.jpg');
background-repeat: no-repeat;
background-attachment: fixed;
background-color: #FFFFFF;
background-position: center center;
background-size: 100px 100px;}
And apply this CSS ID to my <section id="login">
, the
background: url('Images/Login_Background.jpg');
style does not work!!!
Could you point out where I might be going wrong? I am exhausted from trying to figure this out!!!