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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T09:23:00+00:00 2026-05-23T09:23:00+00:00

So I have a normal html file with tags like and etc. I have

  • 0

So I have a normal html file with tags like and etc.

I have this css file:

html, body {
    margin:0; 
    padding:0;
    backgound-color:blue; 
}

a {
    /* Note: For whatever reason this does not apply to templates/tags/naviagtion.html */
    text-decoration: none;
}

For whatever reason when this is applied to my html file via:

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

Note: the is placed in base.html which it the base template. The background of the body and the text-decoration of the link does not change to the css style. Other tags like div change their width, float, etc to the style of the base.css file. When I go and personally edit the tag via style=”” in the tag, the attributes are applied. Why do the styles get applied with style=”” and not from the css file. I have no inline css in the base.html file that overrides anything. Also, the attributes such as margin and padding for html, body from the css file get applied while the background-color doesn’t. What is going on?

Thanks!

The base.html file pretty much looks like this

....
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/base.css" />
</head>
<body>
    <!-- 
    <div class="left_holder" >
    </div>
    -->
    <div class="center_holder" >
        <div id="top_1" >
            <div id="search" class="top_left" >
                <!-- [ searchbar ] -->
                {% include "tags/search.html" %}
            </div>
....

the navigation.html file:

<div><a href="/" >Home</a></div>

Sorry there won’t be a url since this is on localhost

  • 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-23T09:23:01+00:00Added an answer on May 23, 2026 at 9:23 am

    Spelling error fixed. Also css is case sensitive.

    html, body {
        margin:0; 
        padding:0;
        background-color:blue; 
    }
    
    a{
        /* Note: For whatever reason this does not apply to templates/tags/naviagtion.html */
        text-decoration: none;
    }
    

    You said text-decoration:none is not getting applied.
    Did you mean that you see an underline below the link or you see an outline after clicking?

    You should not see an underline if you have text-decoration:none; in your css.

    If you see a border or ouline, try adding outline:none; as well to the css for a{}

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

Sidebar

Related Questions

i have a problem with html and css. i have a html file with
In my HTML I have something like this <input type=button value=Delete onclick=delete(this);/> and in
I have a HTML file containing Terms and conditions of signup process of my
I have this problem that my .php file is presented as clear text in
I have a simple place-holder html-file that I would want to use the header
I have a html code which I saved in home.txt file and placed it
I have added a css file on my page. But sometimes. the css file
I have a Html Helper file for my ASP.NET MVC application. The majority of
I don't know is it possible. I have an XML file, which in tags
I have noticed that on my website index.html file that contaisn php code to

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.