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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T23:16:58+00:00 2026-06-09T23:16:58+00:00

I have the following markup. <!DOCTYPE html> <html lang=en> <body> <div id=wrapper> <div id=container>

  • 0

I have the following markup.

<!DOCTYPE html>
<html lang="en">
<body>
<div id="wrapper">
<div id="container">
<div id="navigation">
</div>
</div>
</div>
</body>
</html>

With the following CSS

body
{
width: 100%;
background-color: #E4E4E4;
font-size: 16px;
line-height: 19px;
font-family: Cambria, Georgia, serif;
}

div#wrapper
{
width: 960px;
margin: 0 auto;
background-image: url("nav_bg.png");
background-repeat: no-repeat;
background-position: center 219px;
}

div#container
{
width: 920px;
background-color: #F9EADE;
box-shadow: 0 0 15px 5px rgb(31, 73, 125);
margin: 0 auto;
}

div#navigation
{
height: 50px;
margin-bottom: 200px;
background-color: rgb(31, 73, 125);
box-shadow: 0px 10px 4px -4px rgba(0, 0, 0, 0.8);
}

The nav_bg.png is this

enter image description here

And I get white unshadowed space in the bottom left and right

enter image description here

If I change the code to this

div#navigation
{
height: 50px;
margin-bottom: 200px;
background-color: rgb(31, 73, 125);
box-shadow: 0px 10px 4px 0px rgba(0, 0, 0, 0.8);
}

I get additional shadow on left and right sides as this.

enter image description here

And If I remove background-color and border-shadow from the div#navigation as follows.

div#navigation
{
height: 50px;
margin-bottom: 200px;
}

I get this

enter image description here

Sorry I messesd up the question real bad before.

  • 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-09T23:16:59+00:00Added an answer on June 9, 2026 at 11:16 pm

    You could also just make the div little wider so it would reach to the sides.
    If you could show the code, I could show you how.

    EDIT:
    Just add minus margin to left and right to navigation and add width so it would reach the sides what you need

    margin: 0 -20px 200px;
    width: 947px;
    

    EDIT2:
    If this does not work then there is something that you are not showing or you’re doing it wrong.

    body
    {
    width: 100%;
    background-color: #E4E4E4;
    font-size: 16px;
    line-height: 19px;
    font-family: Cambria, Georgia, serif;
    }
    
    div#wrapper
    {
    width: 960px;
    margin: 0 auto;
    background-image: url("oBecq.png");
    background-repeat: no-repeat;
    background-position: center 219px;
    }
    
    div#container
    {
    width: 920px;
    background-color: #F9EADE;
    box-shadow: 0 0 15px 5px rgb(31, 73, 125);
    margin: 0 auto;
    height: 500px;
    }
    
    div#navigation
    {
    height: 50px;
    margin: 0 -10px 200px;
    background-color: rgb(31, 73, 125);
    box-shadow: 0px 10px 4px -4px rgba(0, 0, 0, 0.8);
    top: 219px;
    position: relative;
    width: 950px;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

If I have the following markup <html> <body> <div id=wrapper> <div id=container> <p>Lots of
I have following HTML markup, <div id=subcontent_l> <p> <a href=/membership-packages/><img height=202 width=644 alt= src=http://74.52.72.231/wp-content/uploads/2010/06/banner1.jpg
I have following HTML+CSS markup: <div id=protofade style=position: relative;> <div style=position: absolute;><img src=slide-01.jpg></div> <div
I have the following markup: <body id=terms_and_conditions_page dir=ltr> <div class=main-wrapper></div> <---------* Edit <div> <-------*
I have the following markup: <div style=overflow:auto;width:500px;height:100px;> <ul> <li>Item 1</li> <li>Item 2</li> <li>Item 3</li>
I have the following markup (HTML with native SVG): <!doctype html> <!-- ... html-Elements
Basically, I am building a horizontal navigation bar. I have following markup: <ui:style src=../common.css
I have the following markup: <div style=width: 660px; border-bottom: 1px solid #3A3F46;> <div class=noplace_event_cont>
Take the following markup: <!DOCTYPE html> <html> <head> <title>My test for StackOverflow</title> </head> <body>
Hey. I have the following markup: <!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd>

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.