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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T14:54:35+00:00 2026-06-15T14:54:35+00:00

k so i have all my css in separate files but it wont load,

  • 0

k so i have all my css in separate files but it wont load, i have it in a folder called css in the root directory and have separate css files for each view. it does load on the home page but none of the others.

This is the code that i have tried in my views in the header tag:

<link rel="stylesheet" type="text/css" href="/css/(name of file for specific view).css" />

<link rel="stylesheet" type="text/css" href="css/(name of file for specific view).css" />

<link rel="stylesheet" type="text/css" href="<?php base_url() ?>css/about.css" />

<link rel="stylesheet" type="text/css" href="<?php base_url('css/about.css') ?>" />

<link rel="stylesheet" type="text/css" href="<?php base_url().'css/about.css' ?>" />

<link rel="stylesheet" type="text/css" href="<?php base_url().'/css/about.css' ?>" />

<link rel="stylesheet" type="text/css" href="<?php echo base_url() . 'css/about.css' ?>" />

the path to my css from root is: /css/(file name).css

the path to my view from root is: /applications/view/(file name).php

what am i doing wrong?

i am running codeigniter 2.1.3 with mod_rewrite

Edit:

This is source code from browser:

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">

<title>The Groundscore Way</title>

<link rel="stylesheet" type="text/css" href="/css/about.css" />


</head>
<body>

<div class='site'>

    <div class='ban' >
        <img src="http://www.ground-score.com/imgs/gs_banner_med.JPEG" />
    </div>

    <div class='map'>
        <BR /><BR /><BR /><BR />
        <A HREF="http://www.ground-score.com/main/home" TITLE="home" ><img src="http://www.ground-score.com/imgs/home_0.png"></A>
        <BR />
        <A HREF="http://www.ground-score.com/main/about" TITLE="about" ><img src="http://www.ground-score.com/imgs/about_0.png" /></A>
        <BR />
        <A HREF="http://www.ground-score.com/main/members" TITLE="members" ><img src="http://www.ground-score.com/imgs/members_0.png" /></A>
        <BR />
        <A HREF="http://www.ground-score.com/main/news" TITLE="members" ><img src="http://www.ground-score.com/imgs/news_0.png" /></A>
        <BR />
        <A HREF="http://www.ground-score.com/main/blog" TITLE="blog" ><img src="http://www.ground-score.com/imgs/blog_0.png" /></A>
        <BR />
        <A HREF="http://www.ground-score.com/main/projects" TITLE="projects" ><img src="http://www.ground-score.com/imgs/projects_0.png" /></A>
        <BR />
        <A HREF="http://www.ground-score.com/main/portfolios" TITLE="portfolios" ><img src="http://www.ground-score.com/imgs/portfolios_0.png" /></A>
        <BR />
        <A HREF="http://www.ground-score.com/main/contact"TITLE="contact" ><img src="http://www.ground-score.com/imgs/contact_0.png" /></A>
        <BR />
        <BR /><a href=http://www.ground-score.com/main/login><img src="http://www.ground-score.com/imgs/log_in_0.png" /></a><BR /><a href=http://www.ground-score.com/main/signup><img src="http://www.ground-score.com/imgs/sign_up_0.png" /></a><BR />        </div>


    <div class='content'>



</div>


    <div class=cpwrt>

        <P> <span style="color:#ffffff;"> Copyright (c) 2012 ground-score.com. All rights reserved.</span> </P>

    </div>


</div>
</body>
</html>

<!-- Hosting24 Analytics Code -->
<script type="text/javascript" src="http://stats.hosting24.com/count.php"></script>
<!-- End Of Analytics Code -->

css file code:

        p 
{
    color:black;
    font-family:arial;
    line-height:130%;
}

body 
{
    background-image:url('/imgs/green_tex.jpg');
}

.ban
{
    position:absolute;
    top:20px;
    left:25%;
}
.map
{
    position:absolute;
    top:20px;
    left:5%;
    border-style:solid;
    border-color:black;
    width:130px;
    height:625px;
    padding:12px;
    border-width:1px;
    background:#9d1e15
}
h2
{
    text-align:center;
}
.content
{
    position:absolute;
    top:16%;
    left:25%;
    border-style:solid;
    border-color:black;
    padding:8px;
    border-width:1px;
    background:white;
    width:583px;
    height:542px;
}

.cpwrt
{
    position:absolute;
    top:97%;
    left:33%;

}

.site
{
    position:absolute;
    top:0px;
    left:0px;
    width:1200px;
    height:690px;
}
  • 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-15T14:54:37+00:00Added an answer on June 15, 2026 at 2:54 pm

    Ok it works now, the only way I got it to way to type https:// and all https://www.site.com/css/(file).css

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

Sidebar

Related Questions

I have developed a html css code. It works perfect on all browsers but
I have an ASP.net master page. In this master, I have all my css
If in my webpage, i have all the three css defined for a div
Im using 960gs adaptive CSS in all the pages of my site. I have
How can I create equal height columns in CSS? All I have found searching
I have defined CSS in MasterPage so that all pages can use the same
I have a html wrapper app loading all js, css and images from ipad
I have a logo link that's using a background-image (css sprite). All works fine,
We all know that we're supposed to combine our CSS into one file, but
I have an MVC application that consists of a directory with all the necessary

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.