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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T15:38:24+00:00 2026-06-12T15:38:24+00:00

Longtime Java programmer, pretty new to CSS/HTML in general. Here is my portfolio site

  • 0

Longtime Java programmer, pretty new to CSS/HTML in general. Here is my portfolio site I am working on.

http://www.zdware.com/projects.html

Going to it with a non-large browser window forces my content to spill into another div. Currently, I added some padding to it, so its not exactly spilling, but now the content is pushed down (for some odd reason, even though there seems to be space.

I am using a few “hackish” things to sort of like :

margin-bottom: -10000px;
padding-bottom: 10000px;

for my two “columns” in the middle. Would this have anything to do with it?

The two columns I have are effected by this.

.sidebar1 {
    float: left;
    min-height: 100%;
    min-width:250px;
    width: 20%;
    background-color:gray;
    margin-bottom: -10000px;
    padding-bottom: 10000px;
}
.content {
    padding: 10px 0;
    width: 80%;
    float:right;
}

.content section{
    padding-left:30px;
}

I’ve tried adding min-width to .content, but it doesn’t really do anything. I do have rather bigger images on the pages, but they should still fit.

To elaborate visually..

What happens when browser window is not large (less then 17-18 inch monitor fullscreen)

How it looks with large browser window.. intended look

My preferred way I would like this to work is for the non “container” sections (which holds both the sidebar and content tags) to be shortened, instead of the container.

I also feel like this is a common problem. However, dealing with the way CSS is, I feel if I implemented someone else’s solution (based upon their own problem) that another piece of code would end up preventing it from working.

  • 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-12T15:38:25+00:00Added an answer on June 12, 2026 at 3:38 pm

    The min-width: 250px; rule on .sidebar1 is what’s causing the .content div to position itself beneath the sidebar. If you get rid of that, then your content column moves itself into the right position.

    As for what to do with the logo, I’d either bump it down so that it fits in that space, or set it to have a percentage width in the css so it always fits in that column regardless of how wide the column is.

    And yeah, I’d lose the 10000px negative-margin hack.

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

Sidebar

Related Questions

I'm a longtime Java programmer working on a PHP project, and I'm trying to
From http://java.sun.com/docs/books/performance/1st_edition/html/JPAppGC.fm.html#99740 example A3.3 says, it says that an object might still not be
I've recently started learning Python (long time Java programmer here) and currently in the
I'm a long time Java programmer and I'm digging into Django recently to see
I'm a longtime Java guy, and know that the way to run a JAR
I've been working with Java for a long time but never have come across
Greetings. I am new to Android and haven't touched Java in a long time.
Being a long-time Java programmer and in recent years a Haskell addict, I am
I'm a long-time emacs user, and I'm now working about 1/2 time in Java.
I'm a long time programmer but new to Ruby. I'm trying to port an

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.