Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS image repeat on screen max-width: 767px Re: image repeat on screen max-width: 767px

#124555
Paulie_D
Moderator

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.