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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T08:35:38+00:00 2026-05-23T08:35:38+00:00

When loading two CSS files via an include I am only seeing one of

  • 0

When loading two CSS files via an include I am only seeing one of them being used. The other isn’t being included and I don’t know why.

I have a standard header file which is included on all of the site’s pages.

Example below:

<html>
<head>
<link href="css/jquery-ui.css" type="text/css" />
<link href="css/main.css" rel="stylesheet" type="text/css" />
</head>

This is of course a cut down version of the header for simplification. As you can see both CSS files are within the css directory. but only the main CSS file is being recognised.

  • 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-23T08:35:38+00:00Added an answer on May 23, 2026 at 8:35 am

    Either one of the CSS files cannot be loaded (probably because of a typo or a server misconfiguration). You can detect that by checking that all resources are properly loaded in the developer tools of your browser.

    The other cause may be that you’re implicitly expecting your own stylesheets to take precedence over the default jQuery UI ones. If that’s the case, move your own stylesheets under the jQuery UI one, or make your rules more specific than the default ones.

    This is a simple demo that shows that your example works.

    Solution:

    In your live example, you’re missing rel=stylesheet for the jQuery UI stylesheet:

    <link href="css/jquery-ui-1.8.13.custom.css" type="text/css"/>
    

    should be

    <link href="css/jquery-ui-1.8.13.custom.css" type="text/css" rel="stylesheet" />
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here is 3 css file (one is only for IE) <link rel=stylesheet href=css/blueprint/screen.css type=text/css
I have two internal properties that use lazy-loading of backing fields, and are used
my java application has a loading task which requires two server calls which can
I'm dynamically loading user controls adding them to the Controls collection of the web
I'm loading two different views with this IBActions - (IBAction)showFirstView:(id)sender{ theDetailViewController = [DetailViewController new];
I have two UserControls (uc1 and uc2) loading into a third UserControl (shell). Shell
I find I'm confused about lazy loading, etc. First, are these two statements equivalent:
I have two files with identical code (it is the code they mention here:
I have two SWF files which I shall call container and slave . The
When loading stylesheets via the tag, are the stylesheets loaded asynchronously or synchronously? I

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.