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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T21:25:53+00:00 2026-05-24T21:25:53+00:00

I have solutions that work in all browsers except IE, so I’d appreciate if

  • 0

I have solutions that work in all browsers except IE, so I’d appreciate if the answers worked in IE.

<div id="content">
        <div id="redBar"></div>

        <div id="main">
            <div id="header">
                <img src="images/header.gif" id="logo1">
            </div>

            <div id="explanation">
                Next div.
            </div>
        </div>

        <div id="footer">

        </div>
    </div>

I guess I’ll just give the CSS too:

    #main
{
    padding-left:229px;
    padding-right:229px;
}



#logo1
{
    width:auto;
    z-index:1;
    position: relative;
    left:250px;
}

#main
{
    //background-image:url('../images/indexBack.gif');
    background-repeat:repeat-xy;
    width:980px;
}
  • 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-24T21:25:54+00:00Added an answer on May 24, 2026 at 9:25 pm

    Well what you’re trying to do is relatively simple but you’re putting your logo nested in a few block elements that might mess it up because they don’t have the necessary styling applied to them…

    A visual image of the different areas would help but heres what I think you’re trying to do. I am asuming you want the entire page centered too (if not then it is impossible with your current html).

    (Also you defined the css class for #main twice)

    <div id="content">
        <div id="redBar"></div>
    
        <div id="main">
            <div id="header">
                <img src="images/header.gif" />
            </div>
    
            <div id="explanation">
                Next div.
            </div>
        </div>
    
        <div id="footer">
    
        </div>
    </div>
    
    <style>
    
    #main
    {
        background-image:url('../images/indexBack.gif');
        background-repeat:repeat-xy;
        width: 980px;
        margin: 0 auto;
    }
    
    #header img /* don't put un-needed ids on elements */
    {
        display:block; /* img is an inline element by default but we want it as a block so margin works */
        margin: 0 auto;
    }
    
    </style>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a jquery plugin that is working on all browsers, except opera. The
I have tried all the solutions that have been provided including using PRAGMA but
I realize that you can't 100% know that this will work in all browsers.
I have a solution that I work on with another person and the solution
We have a lot of customized spreadsheet solutions that are being used and we
I have a solutions based on 3 web apps that are deployed into the
I have to look into solutions for providing a MySQL database that can handle
I realise that similar questions have been asked before however none of the solutions
I have a page that loads a div from another page on successful submission
I am working on a jquery slider that seems to work well in all

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.