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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T08:09:08+00:00 2026-06-10T08:09:08+00:00

IE 6 treats the CSS height property as if it were min-height , i.e.

  • 0

IE 6 treats the CSS height property as if it were min-height, i.e. if an element has height: 500px applied to it, but its contents are taller than 500px, the element will get taller to accommodate them.

I’m trying to give an element a fixed height, and add a scrollbar to allow the contents to be scrolled into view if necessary.

How can I make IE 6 honour the height assigned to it, and allow content to be scrolled into view?

.myelement {height: 500px; overflow-y: scroll;} works in other browsers, but not IE 6.

  • 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-10T08:09:09+00:00Added an answer on June 10, 2026 at 8:09 am

    overflow-y:scroll; should work on IE6 as well.

    <div id='test' style="position:absolute; top:10px;left:50px; width:500px; height:200px;background-color: #ffffff; overflow-y: scroll;">
        <div  style="position: absolute; top: 10px; height: 650px; left: 50px; width: 500px;background-color: #000000;"></div>
    </div>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a function that treats and returns data, but according to a boolean
Has something was changed in the way IE9 treats the title attribute in an
Django treats {{ var }} as some variable in its template. How can I
input type=text/radio/checkbox - can I treat them differently in my CSS? Other than by
writing somewhat of a css hack, styling for :hover {} works interestingly, but browsers
Maybe this has already been answered and I am searching incorrectly, but here is
I have a jQuery css selector treat for tha savvy ones. I'm having a
The Java Memory Model (since 1.5) treats final fields differently to non- final fields.
I have an Windows application treats Windows key events. The application conveys the Windows
I'm trying to understand how ActiveMQ's configuration treats dynamicallyIncludedDestinations etc. eg. Consider the following

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.