Copied to clipboard

Flag this post as spam?

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


  • Nick Westmoreland 4 posts 84 karma points
    Sep 10, 2014 @ 07:17
    Nick Westmoreland
    0

    No CSS or Javascript

    I'm hoping someone can assist me with this issue as I've been struggling to find anyone that has experienced the same problem.

    My site structure is as follows:

    Home -Projects --Project-1

    When I link to say http://localhost:49794/projects/project-11 I am getting no CSS / Javascript applied to the page, but all the content is there. If I use the Node Id http://localhost:49794/projects/{Id} the page will display perfectly.

    Also if a trailing '/' is included the same issue occurs eg. http://localhost:49794/Projects/

    At the moment I am running the site using Visual Studio 2012 locally on my machine with an Azure Database.

    I'd really appreciate any suggestions. Thanks!

  • MK 429 posts 906 karma points
    Sep 10, 2014 @ 09:33
    MK
    0

    Check the browser debugger to see if you get any 404 errors when no styling is applied.

    My best guess is that the files url are not constructed properly (relative urls)

  • Nick Westmoreland 4 posts 84 karma points
    Sep 10, 2014 @ 10:17
    Nick Westmoreland
    0

    Hi Moshe. You are exactly correct with the relative Url's, thank you, rookie mistake on my part not to check the debugger

Please Sign in or register to post replies

Write your reply to:

Draft