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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T05:04:00+00:00 2026-05-30T05:04:00+00:00

I am having a problem with what i think is my style sheet. My

  • 0

I am having a problem with what i think is my style sheet. My site page seems to be set up fine:

However, when i view it in a browser the middle document is out of line:

Could there be anything causing this to happen? it leads me to think maybe something in my css file is? But what? 🙁

My css file is as follows:

    div.left
{
    float: left;
    width: 15%;
    background-color: white;
}

div.right
{
    float: right;
    width: 40%;
    background-color: white;
}

div.center
{
    float: left;
    width: auto;
    background-color: white;
    text-align:center;
}
  • 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-30T05:04:01+00:00Added an answer on May 30, 2026 at 5:04 am

    That’s most probably due to your floating elements and since the center div is not floated at all, but rather “pushed” to the middle by the float:left of the left div.

    If your div‘s in the html are like:

    <div class="parent_div">
        <div class="left"> left </div>
    
        <div class="center"> center</div>
    
        <div class="right"> right</div>
    </div>
    

    Try floating the center div to the left also, and it should do the trick

    div.center
    {
        float: left;
        width: auto;
        background-color: white;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is related to this post . I think I am having problem with
I'm having a problem with Fluent NHibernate mappings, I think, and can't quite get
I'm having a problem with logic programming, but I think that could be another
I have been having the following problem, i think it's probably due to the
I think I might be having a stack overflow problem or something similar in
Having problems iterating. Problem has to do with const correctness, I think. I assume
Having problem with the middle Div not expanding to the width http://acs.graphicsmayhem.com/images/middiv.jpg Ok, how
I'm having a very odd problem with grouping a set of nodes in a
I've been trying to create my generic ReadOnlyCheckBox style/template but I'm having a problem
i'm having problem when i want to load css file with document.write() when i

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.