Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4230746
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T01:53:50+00:00 2026-05-21T01:53:50+00:00

My goal is to have a page, served by a web site, containing a

  • 0

My goal is to have a page, served by a web site, containing a to a stylesheet, that is available not on the web site, and not on a different web site, but on a local drive.

Something like;

<!DOCTYPE html>
<html>
<head>
<link href="/styles/something.css" rel="stylesheet" />
<link href="file:///C:/custom.css" rel="stylesheet" />
</head>

My initial research shows that browsers don’t seem to support this, but I’m willing to be proved wrong, or discover some sneaky way of doing it. (I tried the above, that doesn’t work.)

[I know, I know, you wanna know “why”. This is for the site designer – it would allow him to edit the css locally while designing and see the effect on the “semi-live” site. ie the round-trip for edits would be very fast, and I wouldn’t need to give him access to the actual site. By extension, for teaching purposes, it would allow multiple people to simultaneously practice their CSS skills locally]

Obviously any edits made to the local file will only be visible on that local computer – that’s the whole idea. If you had 10 students each would see the same site with a different css file.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T01:53:51+00:00Added an answer on May 21, 2026 at 1:53 am

    Well, if you can setup Apache on your machine, this is easily done.

    This is assuming the question is this

    I want to be able to have a site in a
    central location (live) and allow users
    accessing that site to be able to make
    changes to the site by editing a local
    file. These changes will only be
    visible to the person making the
    change and the rest will just see
    whatever CSS is on their local copy.

    So this means that you have to serve a local file from multiple computers and each person viewing the site may have a different looking copy. If I’m right, read on.

    Setup a local environment (maybe with WAMP?) on all the machines you want to be able to allow local edits. The important thing is that everyone must have the same hostname defined (either localhost, or something else – don’t forget to add it to your hosts file). Place the CSS file inside your webroot and add a link to your live site pointing to that link.

    <link href="http://www.mysite.com/base.css" rel="stylesheet" />
    <link href="http://localhost/custom.css" rel="stylesheet" />
    

    And voila! Local editing.

    Caveats

    1. Everyone needs to have their files placed in the same local URL otherwise it won’t work

    2. You need to setup a local environment (very easy)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to fetch a web page from a ASP.NET site that is only
I want to fetch a web page from a ASP.NET site that is only
My goal is to have the url routing as following: http://www.abc.com/this-is-peter-page http://www.abc.com/this-is-john-page What is
I'm very new to Sharepoint, I have an aspx page on a Sharepoint site
I use ReportViewer web server control on a web page. The goal is to
I have a webservice that's behind form's authentication. The site that hosts the service
I have a GWT web-app with a nearly full page Google map window. Inside
We have an existing web app built with jQuery Mobile. Our goal is to
I do have a page that has a TextBox a Button and a Datagrid.
I have created an Html 5 page that provides important server-side functionality. Unfortunately, it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.