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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T18:24:14+00:00 2026-05-28T18:24:14+00:00

Further to https://stackoverflow.com/questions/8990246/frame-like-in-html/8990407#8990407 I implemented floating divs in my JSP. It works properly in

  • 0

Further to https://stackoverflow.com/questions/8990246/frame-like-in-html/8990407#8990407 I implemented floating divs in my JSP. It works properly in firefox but not in IE

This is how I placed the div

<div id="div2">
    <font class='passageNumber'>Passage II</font>
    <font class='passageText'>
        <center>
            <font class='title'>What does Millie
                hope for?
            </font>
        </center>
<br />

TEST PASSAGE
</font>
</div>

The CSS i used is

#div2, #div3 {
    overflow: auto;
    float: left;
    height: 450px;
}




#div2{
    display:inline-block;
    width: 50%;
}

#div3 {
    display:inline-block;
    width: 50%;

}

U can see the allignment in the attached image SCREEN SHOT

Whereas the same works fine in firefox.

but in IE the “passage II” text comes down and if the passage is big, double scroll bar is appearning. Please help

  • 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-05-28T18:24:15+00:00Added an answer on May 28, 2026 at 6:24 pm

    Not to do the work for you, but I’d suggest using HTML which has a better connection with current standards and trends to provide a more solid and stable solution.

    I’d first construct the div which would contain everything that you’d float, then add the elements into that, using appropriate mark-up for those elements:

    <div id="div2">
        <div class='heading'>Passage II</div>
        <div class='passageText'>
    
            <div class='title'>What does Millie hope for?</div>
            <p>TEST PASSAGE</p>
    
        </div>
    </div>
    

    …and for your CSS I might try:

    .div2
    {
        float: left;
        width: 400px;
        height: 300px;
    }
    
    .heading
    {
        font-size: larger;
        font-weight: bold;
    }
    
    .passageText
    {
        font-family: Arial, sans-serif;
    }
    
    .title
    {
        text-align: center;
    }
    

    Just keep it neat, relevant and well constructed, and you should dodge these annoyances quite successfully – most of the time! Hope this helps…

    EDIT:

    If you have no control over the HTML, and that’s the way it’s just formatted, I might also try adding the display: block; attribute / value to the style sheet to make it behave more like a div element. In general, with the code you provided, block-level displaying of those elements wouldn’t ruin the structure at all:

    font
    {
        display: block;
    }
    

    I would try and see if I could maybe neaten up that HTML though!

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

Sidebar

Related Questions

Further to my questions https://stackoverflow.com/questions/10241345/any-percentage-function-in-net https://stackoverflow.com/questions/9942202/percentage-of-each-element-in-linq i want to create a generic extension method
From the signing documentation at https://developer.android.com/studio/publish/index.html : When the system is installing an update
Basically, I'm having this happen: https://i.stack.imgur.com/el5zH.png I can scroll over to farther than I
I would like to develop URL's which look like the following: http://mysite.com/products/1/best-product-in-the-world Where all
I have been using https://github.com/Redth/APNS-Sharp to send push notification message to all devices where
I have a html page which loads a flash(flex) swf file. Using https it
im using the following code to share content on facebook- <a href=https://www.facebook.com/dialog/feed?app_id=325675344144789&link=<?=$station_info->link?>& picture=<?=$station_info->img_url?>& name=<?=$station_info->title?>&
From what I've seen in the past, StackOverflow seems to like programming challenges, such
I am trying to get gitflow running on Windows using the instructions here: https://github.com/nvie/gitflow
I am using https://github.com/st3fan/iphone-bitly classes and as the example i want to do something

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.