Page 1 of 1

CSS repeat help plz......

Posted: Tue Jul 27, 2010 8:17 pm
by ceylongeek
Guys i am new to web designing 8O and i am trying to design a website using HTML and CSS, But i have a problem with background image repeating.

I want to repeat a image for my footer text but i can't understand the way to repeat a image to infinite.I used the following CSS code to repeat the footer text background image.
.footer
{
background:url(three_0.gif);
background-repeat:repeat-x;
text-align:center;
}
And i wrote all my footer copyright details within
<P class="footer">bla bla bla</p>
But when i run the website it doesn't repeat to the infinite it remain a small spaces from both the left and right sides.I have attached a image with this post by looking at that you can understand my problem well.

please give me a help to solve this problem guys.

Thank you

Re: CSS repeat help plz......

Posted: Thu Jul 29, 2010 1:40 pm
by jraede
Your CSS is fine, just looks like you have a margin on that element, or a padding on its parent element.