problem displaying correct layout in ie

Discussion in 'HTML & Website Design' started by cris02, Oct 13, 2009.

  1. #1
    Got the problem in IE7 displaying my layout, but in mozilla it seems fine. Please see the image
    IE
    Mozilla

    Here;s the code of center content of the page
    <div class="rounded" style="margin: 0pt auto; width:auto; background-color: #FCFBDC;">
                        <table width="100%" border="0" cellpadding="0" cellspacing="0">
                          <tr>
                            <td width="748" valign="top"><div class="normaltext" style="margin:10px;">
    
    <p>Welcome Text Here! Welcome Text Here! Welcome Text Here! Welcome Text Here! Welcome Text Here! Welcome Text Here!
      Welcome Text Here! Welcome Text Here! Welcome Text Here! Welcome Text Here! Welcome Text Here! Welcome Text Here!
      Welcome Text Here! Welcome Text Here! Welcome Text Here! Welcome Text Here! Welcome Text Here! Welcome Text Here!</p>
    <span class="normaltext"></span> </p>
    </div>
    <br />
    <div class="xdiv" id="xborder">
      <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td height="21" align="left" valign="top" background="images/bg.jpg"><span class="whiteBold">HOT PRODUCTS </span></td>
        </tr>
    
        <tr>
          <td height="36" valign="top">&nbsp;</td>
        </tr>
        <tr>
          <td valign="top">&nbsp;</td>
        </tr>
      </table>
    </div>
    
    Code (markup):
    anyone can help.. thanks in advance.
     
    cris02, Oct 13, 2009 IP
  2. jamesicus

    jamesicus Peon

    Messages:
    477
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #2
    jamesicus, Oct 13, 2009 IP
  3. Chris Neitzer

    Chris Neitzer Active Member

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    61
    #3
    Is your code relying on the height of the featured products and inquiry boxes to set the height for the content div? Those boxes appear to be shorter in IE, probably because of the way IE treats the box model, like jamesicus is saying. I can't say for sure though without seeing the rest of your code.

    -Chris
     
    Chris Neitzer, Oct 13, 2009 IP