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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T13:18:52+00:00 2026-05-11T13:18:52+00:00

I met a wired problem for a web page in IE7/8. The page configured

  • 0

I met a wired problem for a web page in IE7/8. The page configured to be dir=’rtl’. And divRow is made very large width so as its containing div doesn’t wrap.

Click the editor area, type some words, then click the ‘Hello world’ text. The layout will turns to be messy, because the offset and width of div with divRow class changed.

I suppose this is a IE7/8 bug. Is there any way to workaround this?

Basically, divRow must to have its contained div not wrap.

<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01//EN'    'http://www.w3.org/TR/html4/strict.dtd'> <html>   <head>   <style>     div      {       border: 1px;       border-color: black;     }      .divRow     {       /* this is to make its containing div not to wrap */       min-width: 2000px;      }      div.divEditor     {       width: 100%;     }      iframe     {       height: 100%;       width: 100%;     }   </style>   <script>     function $(id)     {       return document.getElementById(id);     }      function focusToRight()     {       var elem = $('innerDiv1');        function fcs()       {         elem.focus();       }       setTimeout(fcs, 1);      }   </script>   </head>   <body dir='rtl'>     <div>     <div id='main'        style='overflow: hidden; position: relative; width=100%'>       <div class='divRow' id='firstRow'>         <div style='float:right' id='innerDiv1'>           Hello world.         </div>         <div style='float:right' id='innerDiv2'>           This is to make it is very very very very very very very very             very very very very very very very very long         </div>       </div>       <div class='divEditor'>         <iframe id='editorIFrame' onbeforedeactivate='focusToRight();'            src='about:blank'></iframe>       </div>     </div>      </div>     <script>       //document.getElementById('main').style.width='40px';       //$('editorIFrame').document.designMode = 'on';       document.frames['editorIFrame'].document.designMode = 'On';     </script>   </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-11T13:18:53+00:00Added an answer on May 11, 2026 at 1:18 pm

    Get rid of the min-width:2000px condition completely.

    The way to stop a containing div from wrapping, or collapsing, is to insert an empty div with style=’clear:right’ just before the end of it. This new div is still inside the containing div, but it must clear, i.e go below, the floats, so it stretches the vertical height of the div.

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

Sidebar

Related Questions

I met a problem about HTML rendering. In dir=rtl document of IE7, when JavaScript
I met a problem which is very strange, my company uses Visual Source Safe
I met a very strange problem recently. I want to control the ListBoxItem's render
I've met the same problem as this page: http://www.mail-archive.com/pylons-discuss@googlegroups.com/msg14292.html This is the main content
I met a problem when trying @Singleton of Guice: import com.google.inject.Singleton; @Singleton public class
i met a very strange PHP behaviour, i don't understand why it behaves like
I met with an xml tranformation problem. After applying a suggested muenchian grouping to
Has anyone met this problem ? I've checked the output of phpinfo() ,and see
I've met with strange issue in Selenium RC. When I use IE7 the test
Recently I met a strange problem, see code snips as below: var sqlCommand: string;

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.