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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T13:23:48+00:00 2026-05-20T13:23:48+00:00

The image below (at the very bottom) is the file structure for the site

  • 0

The image below (at the very bottom) is the file structure for the site I’m building, where I can’t connect the CSS file properly.

In directory Public/Admin/ there is a file login.php. From login.php, I use the following function call…

to get the header for the login.php page.

The function it calls in the (Includes/functions.php file) is this

function include_layout_template($template=""){
include(SITE_ROOT.DS.'public'.DS.'layouts'.DS.$template);
}

which gets the admin_header.php file from the LAYOUT directory. I know the admin_header.php is loading properly into the login.php file using this function call because the html of the admin_header.php file is appearing when i load login.php. However, the admin_header.php file also has the link to the main.css file in the StyleSheets directory

<link href="../stylesheets/main.css" media="al" rel="stylesheet" type="text/css"/>

Although, as mentioned, admin_header.php is being incorporated into public/Admin/login.php, the stylesheet is not working.

Looking at the directory structure below, is there something wrong with my link to the stylesheet?

Picture of file structure

  • 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-20T13:23:49+00:00Added an answer on May 20, 2026 at 1:23 pm

    It’s not the relativity of the file location that is your problem. You have media="al" when it should be media="all". This should fix it.

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

Sidebar

Related Questions

How to create such (see image below) effect using pure HTML JS and CSS?
I got a very similar error to the one below: How can I fix
See this Image below http://i46.tinypic.com/2pt6jkn.jpg This is report in SSRS as shown when it
I receive this message (see image below) when I try to edit in debugging.
Take a look at the image below. I defined the red boxes inside the
I have to represent graphically an oriented graph like in the image below. alt
I have an interface that has large numbers of controls, see image below. Interface
I'm using an asp.net chart control to display a pie chart, image below. http://i39.tinypic.com/ndtzx1.png
I got a image like below with padding-right: 15px <td><img style=padding:0px 15px 0px 0px;...
I'm gonna create a ListView in WPF like the below image (source: picfront.org )

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.