Layout not rendering properly in IE
Posted: 24 July 2006 02:16 PM   [ Ignore ]
Newbie
Rank
Total Posts:  1
Joined  2006-07-24

Hello,

I’m working on a site where the CSS layout renders correctly on Firefox and Safari but not IE.  I’ve simplified the site and uploaded it here:

http://www.geocities.com/hyojin_hwang/test.html

In IE, the red borders are not lined up as they are in Firefox.  In addition, there is some extra space between the banner and the bottom content.

The code is here:

<html>
<
head>

<
style type="text/css">

body {
   color
#4F4F4F;
   
margin0px;
   
padding0px;
   
text-aligncenter}
#container {
   
margin-left20px;
   
margin-right20px;
   
margin-bottom20px;
   
padding0px;
   
background-colorgrey;
   
border1px solid #4F4F4F;
   
min-width820px;
   
text-aligncenter}
#banner {
   
height200px;
   
margin0px;
   
padding0px;
   
background-colorblue;
   
min-width820px;
   
text-aligncenter}
#content {
   
margin-leftauto;
   
margin-rightauto;
   
padding0px;
   
background-coloryellow;
   
text-aligncenter;
   
border-right5px solid #A52A2A;
   
border-left5px solid #A52A2A;
   
width754px;
   
voice-family"\"}\"";
   
voice-familyinherit;
   
width744px}
html
>body #content {
   
width744px}
#leftcontent {
   
floatleft;
   
width170px;
   
padding5px;
   
margin0px;
   
border-right1px solid #B4B4B4;
   
background-colororange}
#rightcontent {
   
margin-left170px;
   
padding5px;
   
background-color#green;
   
text-alignjustify}

</style>
</
head>

<
body>

<
div id="container">

   <
div id="banner" valign=bottom>
      <
img src="http://www.geocities.com/hyojin_hwang/w45650959.jpg" border=0 style="margin: 0px; padding: 0px">
   </
div>

   <
div id="content">
   
      <
div id="leftcontent">
         &
nbsp;
      </
div>

      <
div id="rightcontent">
         &
nbsp;
      </
div>

   </
div>

</
div>

</
body>
</
html


Can someone please take a look at it and tell me what I may be doing incorrectly?

Thanks for your help!

Profile