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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T15:58:14+00:00 2026-05-10T15:58:14+00:00

I thought I had seen a bug report about this on the jQuery site,

  • 0

I thought I had seen a bug report about this on the jQuery site, but now I cannot find it. I’m trying to resize a dialog in IE6. But when the element is resized, the content and title bar don’t resize down. They will resize up if the dialog is made larger, however. The result is that the close button ends up being cut off and the content is clipped if the user resize the dialog to be smaller.

I’ve tried handling the resizeStop event and manually resizing the content and titlebar, but this can gave me weird results. The sizes and positions of elements in the content area were still off. Also, even though I resize the title bar, the close button still doesn’t move back into view. Any ideas? If this is a bug in jQuery-ui, does anyone know a good workaround?

<html> <head>   <title>Example of IE6 resize issue</title>   <link rel='stylesheet' type='text/css' href='http://ui.jquery.com/repository/latest/themes/flora/flora.all.css' />   <script src='http://www.google.com/jsapi'></script>   <script>             google.load('jquery', '1');             google.load('jqueryui', '1');             google.setOnLoadCallback(             function() {                       $(document).ready(function()               {                     $('#main-dialog').dialog();               });         });     </script> </head> <body>     <div id='main-dialog'>           This is just some simple content that will fill the dialog. This example is           sufficient to reproduce the problem in IE6. It does not seem to occur in IE7           or FF. I haven't tried with Opera or Safari.     </div> </body>  </html> 
  • 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. 2026-05-10T15:58:14+00:00Added an answer on May 10, 2026 at 3:58 pm

    I was able to come up with a solution. If you add the style overflow: hidden to the dialog container div element (which has the css class .ui-dialog-container applied to it), then everything resizes correctly. All I did was add a css rule as follows to the flora theme:

    .ui-dialog .ui-dialog-container {   overflow: hidden; } 

    It could also be corrected by executing the following:

    if ($.browser.msie && $.browser.version == 6) {   $('.ui-dialog-container').css({ overflow: 'hidden' }); }     

    This corrected the issue I was seeing under IE6 and has not introduced any problems in FireFox.

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

Sidebar

Related Questions

I thought I had resolved this but I obviously haven't and was hoping someone
I thought I had this figured out but it turns out I'm just deleting
Alright, I thought I had this whole setTimeout thing perfect but I seem to
I had thought about decorating various control items with attributes to declare group ownership,
I had thought I was clever. But in light of recent discoveries, I'm not
I'm confused about how to use jQuery's Deferred object, and the examples I've seen
I have recently read the safe bool idiom article. I had seen this technique
I am so frustrated. Just when I thought I had this figured out I
I had thought I could enumerate the types using IMetaDataImport.EnumTypeDefs and for each of
I thought I had a good understanding of how quicksort works, until I watched

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.