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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T06:51:11+00:00 2026-06-11T06:51:11+00:00

When it comes to starting a new design I always start my style sheet

  • 0

When it comes to starting a new design I always start my style sheet with overruling the browser’s default padding and margin on all elements:

* { margin: 0; padding: 0; }

After reading j08691’s answer on a margin collapse problem I realized overflow: auto fixed more than I knew of. I was wondering if it would useful to add overflow: auto on all elements inside the html (you don’t want to loose the scroll-bar there). So:

html * { overflow: auto; }

I tried adding this rule to one of our sites, and at first glance this works well, but I’m afraid it might break the more exotic elements (that I’m not using now, but might later) and … Internet Explorer.

Do any of you have experience with a default overflow: auto? Is it a bad thing to do? Should I opt for a milder version and defining a default overflow: auto only on div elements?

  • 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-11T06:51:13+00:00Added an answer on June 11, 2026 at 6:51 am

    Yeah, I do think it’s bad practice. You should only use it when you don’t know whether the content can break the size of an element.

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

Sidebar

Related Questions

I am starting to build/design a new single page web application and really wanted
I'm starting to learn EJB3 and I'm a bit lost when it comes to
Here comes a simple question, for all those who know javascript. I made an
I'm pretty new to IoC, Dependency Injection and Unit Testing. I'm starting a new
I'm starting a new project, and this must be done in Delphi, so we
Background I'm not new to programming, however I am when it comes to handling
I am just starting to model the data for a new C# project, which
I am basically a newbie whose starting work on a new webapp. The webapp
I am starting a new project where we are planing to build a restful
I am starting a new project, where admin area allow user to place markers

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.