.chat_backgroundImg{ width: auto; height: 100%; min-height: auto; -webkit-background-size: cover; -moz-background-size: cover; background-size: cover; -o-background-size: cover; background-position: center; background-image: url('https://images3.alphacoders.com/106/106327.jpg'); text-align: center; /*color: white;*/ /* Create the parallax scrolling effect */ background-attachment: fixed; background-position: center; background-repeat: no-repeat; background-size: cover; color: #ffffff; }