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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T01:53:59+00:00 2026-06-07T01:53:59+00:00

Ive been having this issue accross a few projects im working on. im sure

  • 0

Ive been having this issue accross a few projects im working on.

im sure its a basic issue and ive tried looking for answers but to no avail.

the code for the page in its entirity is:

HTML

<html>
    <head>
    <link rel="stylesheet" href="cssbin/default.css" type="text/css">

    </head>

    <body>

        <header>
        </header>

        <nav>

        </nav>

        <section>


        </section>

        <footer>

        </footer>
    </body>
</html>

CSS:

body {
    background-color: #B3BDE6;
}

header {
    height: 200px;
    background-color: #020C36;
}

nav {
    height:100px;
    background-color: #7A8FE6;
}

section {
    height:500px;
    background-color: #2B314D;
}

footer {
    height: 200px;
    background-color: #020c36;
}

body, header, nav, section, footer {
 border: 1px solid black;
}

the webpage below shows what im talking about:

http://virtualharrogate.co.uk/template.php

in google chrome the page is framed, im not sure if this happens in every browser but i need to rectify the issue for chrome if nothing else…

Im asking why the borders there (as im obviously missing the point of something somewhere) and how to fix the issue?

ive tried styling the page with css properties width: 100%; & height: 100%; but still nothing.

thanks in advance

  • 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-07T01:54:01+00:00Added an answer on June 7, 2026 at 1:54 am

    This happens because by default body has margin:8px.

    Here is the default stylesheet – http://www.w3.org/TR/CSS21/sample.html

    Just add a margin:0; styling to correct it.

    And you should use some sort of css reset before applying custom css. Thats the right way to go about stuff.

    Check out Initializr. It offers that plus a lot more, including IE6+ compatibility/fallbacks etc.

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

Sidebar

Related Questions

Good morning. I've been having this issue for some days and have been lokking
I'm trying to figure out this weird issue I've been having, and the root
This is an issue I've been having for a long time. I want to
I've been having this really annoying thing happen the past few days, that has
I have been having this issue with blurry text in WPF. I know that
I've been having this memory leak issue for days and I think I have
I've been having this issue for a while now and was never really able
For a long time I've been having this issue that at a certain time
Ive been playing with the ajax tools in jQuery and am having an issue
I've been having this issue with initializing AudioRecord for Android. I searched for quite

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.