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

  • Home
  • SEARCH
  • 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 398329
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T16:44:16+00:00 2026-05-12T16:44:16+00:00

The following code renders differently in IE7 and FF3 (NEW CODE POSTED OLD CODE

  • 0

The following code renders differently in IE7 and FF3 (NEW CODE POSTED OLD CODE WAS MISLEADING – sorry for confusion)

     <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<style>
#boxr1{
background-color:#FFFFFF;
border:3px solid #DDDDCA;
float:right;
width:420px;

}

#boxr2{

background-color:#FFFFFF;
border:3px solid #DDDDCA;
float:right;
width:420px;

}

#boxleft{
border:3px solid #DDDDCA;
color:#277491;
width:300px;
}

</style>
</head>
<body>
<div style="width:800px">
    <div id="boxr1">test<br/>test<br/></div>

    <div id="boxr2">test2<br/>test2<br/></div>

    <div id="boxleft">leftdiv</div> 
</div>
<div style="clear:both;"></div>
</body>
</html>

I can’t seem to figure out what is causing the difference. I want it to behave the way FF does (of course). Any guidance is appreciated. The difference I see is that in FF the left div starts at the top of the page whereas in IE it is rendered “below” the other divs (although it is over to the left).

  • 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-12T16:44:16+00:00Added an answer on May 12, 2026 at 4:44 pm

    I tweaked your original example a little and the code below looks the same in IE, FF, Chrome, and Opera.

         <html>
    <head>
    <style>
    
    #wrapper{
        width: 923px;
        vertical-align: top;
    }
    
    .boxRight{
    background-color:#FFFFFF;
    border:3px solid #DDDDCA;
    float:right;
    margin:3px 0;
    width:560px;
    
    }
    
    #boxleft{
    
    color:#277491;
    width:357px;
    float: left;
    
    }
    
    </style>
    </head>
    <body>
    <div id="wrapper">   
        <div id="boxleft">leftdiv</div>
        <div id="boxr1" class="boxRight">test<br/>test<br/></div>
        <div id="boxr2" class="boxRight">test2<br/>test2<br/></div>    
    </div>
    <div style="clear:both;"></div>
    </body>
    </html>
    

    EDIT:
    I updated my code after your edit to your original post. The above works in FF, Chrome, IE, Opera.

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

Sidebar

Ask A Question

Stats

  • Questions 202k
  • Answers 202k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer gnibbler gave a hint at os.chown. The problem was then… May 12, 2026 at 8:26 pm
  • Editorial Team
    Editorial Team added an answer You can use the Youtube data API to retrieve data… May 12, 2026 at 8:26 pm
  • Editorial Team
    Editorial Team added an answer From outlook files are opened to a temp dir on… May 12, 2026 at 8:26 pm

Related Questions

The MSDN documentation is (somewhat) clear about the following two facts about GDI Pens:
hey again stackoverflowers I'm migrating a website from old ASP (in VBScript) and there's
I'm trying to accomplish the following in ASP.Net: Create a WPF Canvas control Spin
...or... What evil in the depths of WPF have I awoken? I'm creating a
I have a website built using Asp.net and LinqToSql for Data Access. In a

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.