Website Building.. My CSS File Dosent Work When Uploaded?

Discussion in 'Black Hat SEO' started by anhilation, Nov 1, 2011.

Tags:
  1. anhilation

    anhilation Junior Member

    Joined:
    Oct 4, 2009
    Messages:
    150
    Likes Received:
    40
    Hi guys, was just wondering if anyone know what is causing this problem... I Build a website and saved it, there is a css file that turns the content slice into a background to put text on top off, This is the Css Code. It works when i open the html file from a local folder.

    #content {
    background-image: url(%5Cimages%5Cindex_21.gif);
    background-repeat: repeat;
    text-align: center;
    }

    But when i upload it to my webhost the image dosent show up. The place where it should be is just blank.

    And here is the code i put in the html page where the background should be..

    <td colspan="11"><div id="content">
    <p> </p>
    <p>s</p>
    <p>s</p>
    <p>s</p>
    <p>s</p>
    <p>s</p>
    <p>s</p>
    <p>s</p>
    <p>s</p>
    <p>s</p>
    <p>s</p>
    <p>s</p>
    <p>s</p>
    <p>s</p>
    <p>s</p>
    <p> </p>
     
  2. shadowfax

    shadowfax Power Member

    Joined:
    Mar 9, 2009
    Messages:
    518
    Likes Received:
    696
    Occupation:
    IM, Marketing, Programming
    Location:
    Where there is money baby
    I think the %5C part is causing the problem. why not use the "/" character directly instead of %5C (which stands for "\" BTW) . Also the div inside TD might be redundant if you want to apply the image to entire TD..