Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Wont load cascading style sheet.

Options
  • 22-04-2005 4:44pm
    #1
    Registered Users Posts: 878 ✭✭✭


    I have a web site set up with iis on my machine. It works fine on my own machine but when i try to access the site from another pc it wont load my external javascripts or cascading style sheets.
    I tried moving them to the root iis directory but it does not make a difference.
    Any ideas?


Comments

  • Registered Users Posts: 9,190 ✭✭✭RobertFoster


    Can you post up the source code of where you link to the CSS/JS? It's probably an absolute/relative error :)


  • Registered Users Posts: 878 ✭✭✭Bicky


    Thanks for the reply. Rushing to get a project done. :) You know how it is.
    <head>
    <TITLE>Login</TITLE>
    <link rel="stylesheet" type="text/css" href="http://localhost/Stylesheet/AIDstyle.css&quot; />
    </head>
    and
    <script src="http://localhost/javaScripts/Time.js&gt;

    /Stylesheet and /javaScripts are child directory off the home directory of iis.


  • Registered Users Posts: 878 ✭✭✭Bicky


    Even as i posted that i realised im an idiot. thanks anyway :)


  • Registered Users Posts: 68,317 ✭✭✭✭seamus


    If you type,
    http://localhost/Stylesheet/AIDstyle.css

    Into the address bar of your browser, what happens?


  • Registered Users Posts: 4,003 ✭✭✭rsynnott


    For future reference, in FireFox or Mozilla right-click, click "Page Info" and look in the links section. That'll tell you where the page thinks all stylesheets, images, links and embedded objects are.


  • Advertisement
  • Registered Users Posts: 878 ✭✭✭Bicky


    Yet another nice feature of firefox. Thanks for that.


Advertisement