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 8926123
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T07:53:28+00:00 2026-06-15T07:53:28+00:00

I have a base html file which I want all other pages to inherit

  • 0

I have a base html file which I want all other pages to inherit certain charateristics from. But although my inherited pages eg. main.html can reference external links eg:

<link href="http://twitter.github.com/bootstrap/1.4.0/bootstrap.css" rel="stylesheet">

With no problem. But when I try to download the twitter bootstrap and store the file in the same directory as all the other html pages it cannot link to that file and it gives me a 404 error. My file structure is simple; a folder called templates with all the html, css and js files in this directory.

So i’m doing this:

 <link href="bootstrap.css" rel="stylesheet" media="screen">

When I try to do this:

<link href="http://localhost/templates/bootstrap.css" rel="stylesheet" media="screen">

I get no 404 error, but from the view source on the web page, if I try to access that page I get an error saying:

Firefox can’t establish a connection to the server at .

I’m really lost to why this ‘simple’ thing is not working.

  • 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-06-15T07:53:30+00:00Added an answer on June 15, 2026 at 7:53 am

    Do you have a base tag inside your html? If so, it could be saying firefox a specific host where to find files, different than localhost.
    Try use Firebug on Firefox or Chrome developer tools to see which URLs it’s trying to retrieve.

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

Sidebar

Related Questions

In my html I have <head> <base href=http://mydomain.com/dev/> </head> But my links all go
I have a template, base.html , which is used in several other templates for
I have a file called header.html and it is included by base.html . In
I have a base.html which has a login section at the top of every
I have a ListView. If I want to base the html markup on a
I want to load a html page from a file, and append a hash
I have to use a certain table styling on only show.html.haml pages of my
I have a base.html template that contains a list of links. Example: <div id=sidebar1>
i have template base.html and some children templates. I don't know how to set
Ok I have a base.html and I try to use that for my header

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.