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
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Wont load cascading style sheet.

  • 22-04-2005 3:44pm
    #1
    Registered Users, Registered Users 2 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, Registered Users 2 Posts: 9,284 ✭✭✭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, Registered Users 2 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, Registered Users 2 Posts: 878 ✭✭✭Bicky


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


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


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

    Into the address bar of your browser, what happens?


  • Registered Users, Registered Users 2 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, Registered Users 2 Posts: 878 ✭✭✭Bicky


    Yet another nice feature of firefox. Thanks for that.


Advertisement