Home › Forums › CSS › image repeat on screen max-width: 767px › Re: image repeat on screen max-width: 767px
February 14, 2013 at 5:16 am
#124555
Paulie_D
Member
I know this is probably a silly question but:
#footer-wrap {
width: 100%; /* not necessary…it will automatically be 100% wide */
float: left; /* not necessary for a div that is 100% of the screen width */
background: url(../img/ui/footer_bg.jpg) repeat;
position: relative; /* Why? Unless you are positioning items absolutely inside it */
}
If the div is alway supposed to be 100% wide there would be no reason to change it in any media query.
The INNER footer width maybe…but not the wrapper.