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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T16:54:28+00:00 2026-06-17T16:54:28+00:00

I have the following div: <div style=’overflow:hidden;resize:both;border:1px solid orange;’> <div style=’background-color:#aaa;width:400px;height:300px;’> </div> </div> and

  • 0

I have the following div:

<div style='overflow:hidden;resize:both;border:1px solid orange;'>
   <div style='background-color:#aaa;width:400px;height:300px;'>
   </div>
</div>

and you can see it here: http://jsfiddle.net/4w7zd/

if you run it in firefox you can resize the main div. (make it bigger or smaller)
however if you run it in chrome you can only resize so to make it bigger (wider and taller)

Can somebody tell me how to work-around it so that I can make the main div as small as I wish (like with firefox) ?

Many thanks

  • 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-17T16:54:29+00:00Added an answer on June 17, 2026 at 4:54 pm

    I did some testing and it seems the content makes it impossible to resize down in chrome. I’ve updated your case to this

    <div style='overflow:auto;resize:both;border:1px solid orange; min-height: 10px;'>
        <div style='background-color:#eee;width:400px;max-height:300px; height:100%;'>
        </div>
    </div>
    

    And it seems to work now: http://jsfiddle.net/4w7zd/7/

    Not sure if this is an option for you, but it might point you in the right direction.

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

Sidebar

Related Questions

I have the following div <body> <span style=border:1px solid red; display:inline-block> Some text<br />
I have the following html code: <html> <body> <style> div{border:solid 1px;} .cool{width:400px;height:102px; overflow:auto;} .cool
I have the following code: <HTML> <head> <style>div{border:dashed 1px silver}</style> </head> <BODY style=background: #fff;>
I have the following DIV structure: <style> #header{border-bottom:1px solid blue;} #footer{botter-top:1px solid blue;} #header,#footer{height:15%;}
I have the following code : <style> #items {width:300px;} .item {width:100px;border:solid 1px #ccc;float:left;height:20px;overflow:hidden;} .item:hover{height:auto}
If I have the following in my html: <div style=height:300px; width:300px; background-color:#ffffff;></div> And this
I have the following: <div class=style-switcher id=colorChanger> <a style=background-color: #FFFFFF; data-style=arctic title=Arctic></a> <a style=background-color:
Suppose I have a div with the following styles applied: div { border: 1px
I have the following CSS: #form1,#form2,#form3,#form5,#form6,#form7,#form8 div{ padding:10px; border:1px solid blue; background-color: grey; font-family:lucida
I have the following code: <div> <div onmouseover=this.style.color='red' onmouseout=this.style.color='blue' style=float:left> a <br/> b <br/>

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.