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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T02:30:27+00:00 2026-06-13T02:30:27+00:00

So I have a div table set up with this CSS, as below, so

  • 0

So I have a div table set up with this CSS, as below, so that it is centered and fixed at the top of the page. I can set up another div and center it but I am having trouble getting the DIV to be below the top one. Any advice?

This is the css for the top DIV:

.fixedtop
{
    position: fixed;
    top: 0px;
    left: 50%;
    margin: 0 0 0 -400px;
    background-image: url(bannerlogo.jpg);
    width:800px;
    height: 414;
}

This is the most recent css that I have tested:

.fixedcenter
{
        position:center;
    margin-top: 414px;
    width:800px;
    height: 414px;
}

I’ve also tried to use padding and messing with margins for centering. All help is very much appreciated.

  • 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-13T02:30:29+00:00Added an answer on June 13, 2026 at 2:30 am

    Try this:

    .fixedtop
    {
        margin-left: auto;  
        margin-right: auto; 
        border: 1px solid black; /* I only added the borders so that I could*/
                                 /* see what was happening more easily.*/
        background-image: url(bannerlogo.jpg); 
        width: 800px; 
        height: 414px;
    }
    
    .fixedcenter
    {
        border: 1px solid black; 
        margin-left: auto; 
        margin-right: auto; 
        width: 800px; 
        height: 414px;
    }
    

    It looks like this:

    2 divs

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

Sidebar

Related Questions

I want to have a table border (which I can set using css, rather
The situation is this: I have a div with overflow auto containing a table.
I have a background div with set dimensions, which includes a table element. I'm
I have a element that is set to contain a table element. The table
I have created as css to have borders so that the table looks like
I have DIV with flexible width set e.g. min-width:800px and max-width:1400px. In this DIV,
I have this big data-entry sort of page, a table kind of layout using
I have a table within a div with a set height, when the table
I have divs structured like this: <div id='head'> <div class='graphData'> <table>...</table> </div> <div class='graph'>...</div>
I have a container div that is set to 90% width. I have a

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.