CSS Problem when Posting to Web Server

Discussion in 'CSS' started by burkedt, Jul 26, 2005.

  1. #1
    I have developed a website locally using css and html. When I view the site locally, using IE 6 or Firefox, the site looks great. Once I post it to the web, Firefox still renders it perfectly, but IE 6 does not seem to be playing well with the CSS. Some of the styles are there, but not all. The positioning is way out of whack too.

    What am I doing wrong?

    Thank you in advance!

    -David
     
    burkedt, Jul 26, 2005 IP
  2. Arnica

    Arnica Peon

    Messages:
    320
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Where's the site? Can you give us a URL?
     
    Arnica, Jul 26, 2005 IP
  3. J.D.

    J.D. Peon

    Messages:
    1,198
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Check your paths. They have to be URL paths (e.g. dir1/dir2/file.ext, /dir1/dir2/file.ext or http:// site/path/file.ext), not physical paths (e.g. c:\dir1\dir2\file.ext). Also, check if you are using the file scheme - file:///c:/path/file.ext. Finally, IE is known to misinterpret paths with spaces, especially if you use frames - check if you have any of those.

    J.D.
     
    J.D., Jul 26, 2005 IP
  4. CompressedAir

    CompressedAir Peon

    Messages:
    56
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Might want to check whats hearders your server is sending too. If the header is not "text/css" for CSS files, it can potentially cause problems.
     
    CompressedAir, Jul 30, 2005 IP