im havong a problem with background image in css blinking after i click on navigation bars. If i dont click it my background is fine but when i click it it disappears for a few seconds and it come back. Also i can’t put it in body because i have paddings everywhere my image doesnt fully expand. So i put it in the html.I think it just have delay cause the page is loading? Here the code, please i need some help! Thanks!
html{
font-family:Verdana;
text-align: center;
background-color: #cccccc;
padding-left: 100px;
padding-right: 100px;
background-image: url('photo.jpg');
}
I tried to put it into the body but it didn’t wokred, i position it to absolute that didn’t worked as well.
Mike Muso is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.