Weird problem with background-repeat:repeat-y;

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jacksoncn
    New Member
    • Jul 2007
    • 14

    Weird problem with background-repeat:repeat-y;

    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...an y ideas? Here's the css:

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

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

    .content_footer {
    background-image:url(image s/content_footer. png);
    background-repeat:no-repeat;
    height:26px;
    position:relati ve;
    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,
  • Death Slaught
    Top Contributor
    • Aug 2007
    • 1137

    #2
    Originally posted by jacksoncn
    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...an y ideas? Here's the css:

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

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

    .content_footer {
    background-image:url(image s/content_footer. png);
    background-repeat:no-repeat;
    height:26px;
    position:relati ve;
    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

    Comment

    • jacksoncn
      New Member
      • Jul 2007
      • 14

      #3
      Fixed it! GREAT SUCCESS!!!

      Comment

      • jacksoncn
        New Member
        • Jul 2007
        • 14

        #4
        Originally posted by Death Slaught
        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.

        Comment

        Working...