Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Rexxrally 2 posts 22 karma points
    Oct 09, 2012 @ 23:25
    Rexxrally
    0

    4.9.0 on WinHost totally ignores my CSS

    I built a 4.9.0 website, which works great locally. I uploaded it all to WinHost, set the database up, set the trust to full, etc.

    The website runs but it totally ignores all the CSS, and just renders plain text. I "View Source" and it's referencing the CSS files. I checked and all the CSS files were uploaded.

    Has anyone seen this problem before? Why does it work great locally and completely fail on WinHost? Is there some step I'm missing?

    Your help is appreciated. Thanks.

  • Mark Bennett 199 posts 375 karma points
    Oct 15, 2012 @ 13:57
    Mark Bennett
    0

    You have a publicly accessible link for the site?

  • René 327 posts 852 karma points
    Oct 16, 2012 @ 10:33
    René
    0

    HI Mark

    When referencing CSS do like this

    <link rel="stylesheet" type="text/css"  href="/css/style.css">

    The important part is this "/css/style.css"

    start with /

    Hope it solves your problem

    René

     

  • Mark Bennett 199 posts 375 karma points
    Oct 16, 2012 @ 11:23
    Mark Bennett
    0

    Rene,

    Thanks for the answer but I didn't ask the question. The link to his css depends on how he has the site set up. The css file might not be in the /css folder but thats why I asked if he had a publicly accesible link so I could take a look.

    Mark..

  • René 327 posts 852 karma points
    Oct 16, 2012 @ 12:19
    René
    0

    Hi

    Sorry for misunderstanding your question

    Hope you find the solution

    René

Please Sign in or register to post replies

Write your reply to:

Draft