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

  • Home
  • SEARCH
  • 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 4578768
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T20:32:57+00:00 2026-05-21T20:32:57+00:00

I didn’t find something good that helps me so I’m asking a question, sorry

  • 0

I didn’t find something good that helps me so I’m asking a question, sorry if there is any answer lying around somewhere already

I want an html page wiht a header, left div for a menu, and in the middle (where you usually have 1 content div) – 4 divs for 4 graphs, and I want them to be aligned:

menu div    |  1  2

            |  3  4

I couldn’t do that with float left, because number 3 doesn’t stick to the menu, but to the left of the page…

any thoughts? (besides making everything super fixed, which is a solution I don’t like)

  • 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-21T20:32:57+00:00Added an answer on May 21, 2026 at 8:32 pm

    HTML

    <div id="menu">Menu</div>
    <div id="content">
        <div id="d1">1</div>
        <div id="d2">2</div>
        <div id="d3">3</div>
        <div id="d4">4</div>
    </div>
    

    CSS

    #menu {
        float: left;
        width: 20%;
    }
    
    #content {
        float: right;
        width: 80%;
    }
    
    #d1, #d2, #d3, #d4 {
        width: 50%;
    }
    
    #d1, #d3 {
        float: left;  
    }
    
    #d2, #d4 {
        float: right;
    }
    

    See this fiddle.

    Note You might want to give the 4 divs equal height depending on your content.

    #d1, #d2, #d3, #d4 {
        width: 50%;
        height: ...
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Sorry i really didn't know how to phrase the question any better but here
Since I didn't do a good job writing the last question, and most of
(Didn't mean to create a new question, but revised the old one enough that
Didn't find any from their website. I mostly just trying to see which one
Didn't got any luck finding an answer on google , so this is my
I didn't get the answer to this anywhere. What is the runtime complexity of
I didn't see any similar questions asked on this topic, and I had to
I didn't attend PDC 2008, but I heard some news that C# 4.0 is
I didn't give a lot of info in my last question. I've built llv8call
My visual assist x didn't work after I installed visual c# 2008. Is there

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.