Local HTML/CSS Files Display Wrong

Discussion in 'macOS' started by SamGray, May 17, 2009.

  1. SamGray macrumors newbie

    Joined:
    May 17, 2009
    #1
    OK, I have a CSS file that displays a repeated background...Only problem is, when I open the HTML file(linked with the CSS file to display the background) it doesn't show the background...

    This only happens when I'm opening the HTML file that is on my computer(local). I uploaded the exact same HTML/CSS files, and the needed images to my web server, then go to the link in my web browser and it displays 100% correct. So I know I haven't done anything wrong, coding wise.

    I have tried to open the local HTML/CSS files in multiple browsers(Opera, FireFox, Safari), and they all do the exact same thing. They display everything else correct, except there is never a background image. I am using a Mac Pro, with Leopard 10.5.7.

    Any ideas? Tell me if you need something more explained, or more details...



    Thanks in advance.
     
  2. kasakka macrumors 68000

    Joined:
    Oct 25, 2008
    #2
    I'm guessing your CSS rule is just flawed when it comes to the url. Post the CSS rule.
     

Share This Page