CSS repeat help plz......

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
ceylongeek
Forum Newbie
Posts: 3
Joined: Mon Jul 26, 2010 7:24 pm

CSS repeat help plz......

Post 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
Attachments
present.png
present.png (99.57 KiB) Viewed 935 times
jraede
Forum Contributor
Posts: 254
Joined: Tue Feb 16, 2010 5:39 pm

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

Post by jraede »

Your CSS is fine, just looks like you have a margin on that element, or a padding on its parent element.
Post Reply