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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T22:08:44+00:00 2026-06-16T22:08:44+00:00

I have a CSS and HTML related problem. I have one main div which

  • 0

I have a CSS and HTML related problem. I have one main div which has a background color and is supposed to be visible. Inside of that I have a wrapper that contains multiple smaller divs. Only one of these children will fit inside the bigger div at one time, but I want the others to align vertically besides it with a scroll bar, so I can scroll between the divs. I do not want the divs that’s outside my main div to be visible and expand the site.

I’ve tried to float the to the left, but they only align underneath each other. Even when I set the wrappers div to be auto. But if I set a specific width that will fit all the smaller divs (I.e. 7000px), they will align vertically. But even those who is pushed outside if the “main” div will be visible, and the site is stretched.

So is this possible to do? It’s like you do with text, when you just want it inside a specific div (like here in the text editor, only vertically and with divs).

Hope someone can help! 😉

  • 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-16T22:08:45+00:00Added an answer on June 16, 2026 at 10:08 pm

    You can use overflow: hidden css on the parent div.

    Better make a fiddle illustrating the problem so it will be easier for others to suggest a fix.

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

Sidebar

Related Questions

I have html and css as below - .title { display: block; background-color: red;
I have a css/html related problem that's really annoying me :( I have a
My problem is HTML and CSS related. I have a hierarchy type structure that
I have a problem related to my previous article css, button selection and html
I've the following situation and need help (HTML/CSS/JS related) I have a div with
I have a webpage in HTML and related CSS and JS, I am also
I currently have the following CSS (called splash.css): html { background:url(splash.jpg) center no-repeat; background-size:auto
I have an html file <html> <body> <div #main> <a click to open lightbox>
I have a very interesting problem related to Deflate Compression, Apache (htaccess), and CSS
I have some CSS and HTML for horizontal tabs that works perfectly in jsfiddle.

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.