By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,696 Members | 2,213 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,696 IT Pros & Developers. It's quick & easy.

Weird problem with background-repeat:repeat-y;

P: 14
Hey everyone,
I am havin a problem here, maybe someone could lend me their mind for a second. Here it is:

I am using a repeat background on a y axis. When I am testing the file from my desktop...it is fine but when I put the file on my server to test it there...the content is being diplayed but not the background...any ideas? Here's the css:

p{
margin-left:70px;
width:650px;
}

.content_repeat{
background-image:url(images/content_repeat.jpg);
background-repeat:repeat-y;
width:800;
position:relative;
top:-16px;
border:solid;
}

.content_footer{
background-image:url(images/content_footer.png);
background-repeat:no-repeat;
height:26px;
position:relative;
top:-32px;
}

and here's the html excerpt:

<div class="content_repeat">

<p>Dummy Text,Dummy Text,Dummy Text,Dummy Text,Dummy Text,Dummy Text,Dummy Text,Dummy TextDummy TextDummy Text,Dummy Text,Dummy Text,Dummy Text
</p>

<p>Dummy Text,Dummy Text,Dummy Text,Dummy Text,Dummy Text,Dummy Text,Dummy Text,Dummy TextDummy TextDummy Text,Dummy Text,Dummy Text,Dummy Text
</p>

<p>Dummy Text,Dummy Text,Dummy Text,Dummy Text,Dummy Text,Dummy Text,Dummy Text,Dummy TextDummy TextDummy Text,Dummy Text,Dummy Text,Dummy Text
</p>

<p>Dummy Text,Dummy Text,Dummy Text,Dummy Text,Dummy Text,Dummy Text,Dummy Text,Dummy TextDummy TextDummy Text,Dummy Text,Dummy Text,Dummy Text
</p>

<p>Dummy Text,Dummy Text,Dummy Text,Dummy Text,Dummy Text,Dummy Text,Dummy Text,Dummy TextDummy TextDummy Text,Dummy Text,Dummy Text,Dummy Text
</p>

</div>

<div class="content_footer"></div>


I'd really appreciate someones help on this one.

Thanks,
Aug 21 '07 #1
Share this Question
Share on Google+
3 Replies


Death Slaught
100+
P: 1,137
Hey everyone,
I am havin a problem here, maybe someone could lend me their mind for a second. Here it is:

I am using a repeat background on a y axis. When I am testing the file from my desktop...it is fine but when I put the file on my server to test it there...the content is being diplayed but not the background...any ideas? Here's the css:

p{
margin-left:70px;
width:650px;
}

.content_repeat{
background-image:url(images/content_repeat.jpg);
background-repeat:repeat-y;
width:800;
position:relative;
top:-16px;
border:solid;
}

.content_footer{
background-image:url(images/content_footer.png);
background-repeat:no-repeat;
height:26px;
position:relative;
top:-32px;
}

and here's the html excerpt:

<div class="content_repeat">

<p>Dummy Text,Dummy Text,Dummy Text,Dummy Text,Dummy Text,Dummy Text,Dummy Text,Dummy TextDummy TextDummy Text,Dummy Text,Dummy Text,Dummy Text
</p>

<p>Dummy Text,Dummy Text,Dummy Text,Dummy Text,Dummy Text,Dummy Text,Dummy Text,Dummy TextDummy TextDummy Text,Dummy Text,Dummy Text,Dummy Text
</p>

<p>Dummy Text,Dummy Text,Dummy Text,Dummy Text,Dummy Text,Dummy Text,Dummy Text,Dummy TextDummy TextDummy Text,Dummy Text,Dummy Text,Dummy Text
</p>

<p>Dummy Text,Dummy Text,Dummy Text,Dummy Text,Dummy Text,Dummy Text,Dummy Text,Dummy TextDummy TextDummy Text,Dummy Text,Dummy Text,Dummy Text
</p>

<p>Dummy Text,Dummy Text,Dummy Text,Dummy Text,Dummy Text,Dummy Text,Dummy Text,Dummy TextDummy TextDummy Text,Dummy Text,Dummy Text,Dummy Text
</p>

</div>

<div class="content_footer"></div>


I'd really appreciate someones help on this one.

Thanks,
I have no idea what the problem is it works perfectly in myn but i would put your urls in " " qoutes i dont know if that will help but i tried it both ways and it worked maybe some one else will know. Good Luck!

Thanks, Death Slaught
Aug 21 '07 #2

P: 14
Fixed it! GREAT SUCCESS!!!
Aug 21 '07 #3

P: 14
I have no idea what the problem is it works perfectly in myn but i would put your urls in " " qoutes i dont know if that will help but i tried it both ways and it worked maybe some one else will know. Good Luck!

Thanks, Death Slaught
thanks. the code WAS fine. i had defined the site in a root folder and the location paths were not the correst ones and so they did not display. so i just slaughtered the root folder and that did the trick. i really appreciate your help though. regards.
Aug 21 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.