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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T23:40:04+00:00 2026-05-19T23:40:04+00:00

I am new to the designing/programming world so I am sure the issue is

  • 0

I am new to the designing/programming world so I am sure the issue is easy to solve. I am trying to add the moz-box-shadow effect to my header. But as soon as I add that component, the header which is taking up space horizontally shortens up. I want the header to be like Twitter’s, where they use a shadow effect.

#header {
    background-color: #990000;
    width:101.3%;
    margin-left:-8px;
    margin-top:-8px;
    height:40px;
    -moz-box-shadow: 1px 1px 10px #D7D7D7;
}

Also, the way i have set the width is it likely going to create cross browser issues?

  • 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-19T23:40:05+00:00Added an answer on May 19, 2026 at 11:40 pm

    Here’s a version similar to what Twitter has:
    This is Twitter’s version, more or less:

    Live Demo (edit)

    HTML:

    <div id="top-fixed">
        <div id="top-bar"></div>
    </div>
    

    CSS:

    html, body {
        margin: 0; padding: 0
    }
    body {
        padding-top: 50px;
        background: #c0deed
    }
    #top-fixed {
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        z-index: 1000;
    }
    #top-bar {
        height: 40px;
        width: 100%;
    
        background-color:#00a0d1;
        background-image:-webkit-gradient(linear,0 0,0 100%,from(#00a0d1),to(#008db8));
        background-image:-moz-linear-gradient(#00a0d1,#008db8);
        filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00a0d1',endColorstr='#008db8');
        -ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr='#00a0d1',endColorstr='#008db8')";
    
        -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
        -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm designing a new component to a system, trying to follow the various guidelines
I am new to programming and web designing. I need a little help. Whiteboard
In designing a new programming language, is it safe to assume that a C
I am fairly new to the programming world . I work with web applications
When designing a new system or getting your head around someone else's code, what
While designing a new WPF application I noticed exceptions not being thrown during data
I am designing a new System and I have a lot of Interfaces that
Designing a new system from scratch. I'll be using the STL to store lists
We are designing a new database and I would like some input in where
I'm designing a new protocol called DITP. It is a connection oriented protocol that

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.