Forums

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

Home Forums CSS [Solved] Extend Background to fill entire div Re: [Solved] Extend Background to fill entire div

#76516
TheDoc
Member
Code:
#page { /* main container */
width:940px;
margin:0 auto;
font-size:1em;

background: url(‘http://www.mmtest1.byethost22.com/brown-gradient.jpg’);
background-size:100%;
background-repeat: no-repeat;
padding: 10px 20px 40px 20px;
border-top:4px solid #864E04;
border-bottom:4px solid #864E04;
}

Change to:

Code:
#page { /* main container */
width:940px;
margin:0 auto;
font-size:1em;
background: url(‘http://www.mmtest1.byethost22.com/brown-gradient.jpg’) no-repeat #a07950;
padding: 10px 20px 40px 20px;
border-top:4px solid #864E04;
border-bottom:4px solid #864E04;
}