Using a PHP while loop causes my CSS footer to disappear -
i have php while
loop data mysql database , repeat <div>
s per data. when data retrieved, issue footer disappears, because background image becomes unlimited.
below css code background , footer.
.wrapper { background: url(../images/bg.png) #eee; border-bottom: 1px solid #bbb; -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.1); -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.1); box-shadow: 0 1px 2px rgba(0,0,0,0.1); padding: 30px 0; .footer { color: #999; padding: 40px 0px 0px 15px; }
it's difficult understand question when not post of code. or complete code snippets.
check out background-repeat
read more this
Comments
Post a Comment