Jump to content

Archived

This topic is now archived and is closed to further replies.

BrandonKahre

Help with Internet Explorer Compatability

Recommended Posts

I have a table that looks good in FireFox, but not in IE6/7.  Can anyone help me find the IE fix?  I know it has to do with the table.sizingTable's padding.

Markup:
[code]<table cellspacing="0" class="sizingTable">
  <thead>
  <tr>
<td colspan="5"><img src="/images/sizingcharts/text.swimwear-sizes.jpg" alt="Swimwear Sizing" /></td>

  </tr>
  </thead>
  <tbody>
  <tr>
<th class="firstcell"></th>
<th>Small</th>
<th>Medium</th>
<th class="lastcell">Large</th>

  </tr>
  <tr>
<td class="firstcell">Waist</td>
<td>
<small>IN</small> 26-30<br />
<small>CM</small> 69-76
</td>

<td>
<small>IN</small> 30-34<br />
<small>CM</small> 76-86
</td>
<td class="lastcell">
<small>IN</small> 34-38<br />

<small>CM</small> 86-97
</td>
  </tr>
  </tbody>
</table>[/code]

CSS:
[code]/* Sizing Charts */
table.sizingTable {
background: #FFF url(/images/sizingcharts/bg.jpg) no-repeat 0 0;
text-align: left;
border: 0;
padding: 50px 0 20px 50px;  /* IE Error here */
margin: 20px auto;
}
table.sizingTable thead tr td {
padding-bottom: 7px;
}
table.sizingTable tbody tr th {
width: 110px;
font-size: 110%;
font-weight: 600;
text-transform: UPPERCASE;
text-align: center;
border-top: 2px solid #000;
padding: 5px 0;
margin: 0;
}
table.sizingTable tbody tr th.firstcell {
width: 80px;
border: 0;
}
table.sizingTable tbody tr td {
font-size: 105%;
font-style: italic;
text-indent: 5px;
border-top: 2px solid #999;
border-right: 2px solid #999;
padding: 5px 0 15px 15px;
}
table.sizingTable tbody tr td small {
font-size: 70%;
font-style: normal;
}
table.sizingTable tbody tr td.firstcell {
width: 80px;
font-size: 110%;
vertical-align: middle;
text-align: left;
text-indent: 0;
text-transform: UPPERCASE;
padding: 0;
border: 0;
}
table.sizingTable tbody tr td.lastcell {
border-right: 0;
}[/code]

I played around with my ideas, but I couldn't get anything to work in IE.

Share this post


Link to post
Share on other sites
put a link up so we can follow it in both browsers.  then we can se what it shoudl look like and what it does look like in ie.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.