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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T10:52:19+00:00 2026-05-23T10:52:19+00:00

I searched for an answer. Couldn’t find so here goes: I’m familiar with all

  • 0

I searched for an answer. Couldn’t find so here goes:

I’m familiar with all the basic 2 column layouts. What I need is a floated column to be at the top without giving the block element above it (in the page flow) a margin.

See http://jsfiddle.net/W3DEC/7/ for an example. I’d like the sidebar to be on top, meaning overlapping, the h1.

The reason I need this, is because I’m trying to build a page that sometimes has a sidebar and sometimes doesn’t, so I don’t want to give the top element a fixed width (other than that dictated by it’s container) or a margin.

This is unlike the usual fixed-sidebar+fluid-center situation, because those fluid center always have those fixed sidebars.

I hope all this is clear.

Any solution?

  • 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-23T10:52:20+00:00Added an answer on May 23, 2026 at 10:52 am

    try this

    #sidebar {
        background-color: LightBlue;
       position:absolute;
        left:0;
        top:0;
    
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've searched all over and couldn't find an answer to this seemingly common question,
I searched and couldn't find an answer for this. By default column headers in
I've searched in here and other forums and couldn't find a good answer.. I
I've searched through all similar questions but I couldn't find the answer. I'm completely
I searched for this here and on google and surprisingly couldn't find an answer.
I tried googling this, couldn't find an answer, searched here, couldn't find an answer.
I have searched for an answer but couldn't find it anywhere. My question is
I've searched within the site, but couldn't find my answer.. I'd like to start
Hy there I searched a lot on google, but couldn't find an answer. Maybe
What is stack unwinding? Searched through but couldn't find enlightening answer!

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.