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

  • Home
  • SEARCH
  • 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 1001413
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T07:40:05+00:00 2026-05-16T07:40:05+00:00

I gotta admit that’s a first-timer bug for me. I’ve never seen that… I

  • 0

I gotta admit that’s a first-timer bug for me. I’ve never seen that…

I have this code :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $lang; ?>" >
<head>
    <title><?php echo PAGE_TITLE; ?></title>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
    <link rel="stylesheet" media="all" type="text/css" title="General" href="./res/css/general.css" />
    <link rel="stylesheet" media="all" type="text/css" title="Popup" href="./res/css/popup.css" />
    <link rel="stylesheet" media="all" type="text/css" title="test" href="./res/css/test.css" />

</head>
<body>
    Hello !
    ...
    absolutely no problem here !!!
    ...
</body>
<html>

I believe nothing’s wrong with it, only there must be. When I test the page, all the HTML shows up, but without the appropriate style. In fact, only the first stylesheet has any effet on the style.
I tried putting the first file code (working) in one of the other files, and it doesn’t work anymore.

I tried googling, but couldn’t find anything (maybe I didn’t search well too)… I also tried different paths, but it works on the first one, why not the others. I tried renaming the files. I also created the 3rd one especially for that, hoping I just had the name wrong.

It has obsessed me for the last hour… So, I believe I could use some help…

Thanks in advance !
Regards from France 😉

  • 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-16T07:40:06+00:00Added an answer on May 16, 2026 at 7:40 am

    If you link to an external style sheet and set a title for it, you specify it as a preferred style sheet:

    To make a style sheet preferred, set the rel attribute to “stylesheet” and name the style sheet with the title attribute.

    But only the first preferred style sheet is used:

    If two or more LINK elements specify a preferred style sheet, the first one takes precedence.

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

Sidebar

Related Questions

No related questions found

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.