Accessibility

CSS Advisor

Table padding in IE problem

by zammit1234 on January 19, 2010 Avg Rating 3.5 (2)   |   Log in to rate post.

Tagged with Explorer 6.0 , Explorer 8.0 , Explorer 5.0 , Position , Padding , Explorer 7.0 , Explorer 5.5 , Width/Height

Problem

I am trying to get 2 tables to align properly in 2 different divisions but they look completely different in IE and mozilla.

Solution

why this is happening?

Detailed description

http://cjit.info/cjitcomputersfc/index.php

If you view the above link in IE and mozilla you will see the difference of the first to tables under the navigation.

First Table Code

<table border="1" cellspacing="0" cellpadding="0" width="396" bordercolor="#999999">
<tbody>
<tr>
<td width="31" class="tablepadding"><span style="color: #000000;"><img src="uploads/images/text.jpg" alt="" width="31" height="23" /></span></td>
<td width="370" height="23" class="tablepadding">Latest News</td>
</tr>
<tr>
<td class="tablepadding"><span style="color: #000000;"><img src="uploads/images/text.jpg" alt="" width="31" height="23" /></span></td>
<td height="24" class="tablepadding">Training Thursday 26th Oasis 8:30 pm</td>
</tr>
<tr>
<td class="tablepadding"><span style="color: #000000;"><img src="uploads/images/text.jpg" alt="" width="31" height="23" /></span></td>
<td height="24" class="tablepadding">CJ IT FC exit from the cup 5 - 3</td>
</tr>
<tr>
<td class="tablepadding"><span style="color: #000000;"><img src="uploads/images/text.jpg" alt="" width="31" height="23" /></span></td>
<td height="24" class="tablepadding">New player signed to boost the midfield</td>
</tr>
<tr>
<td class="tablealigncentre"><span style="color: #000000;"><img src="uploads/images/text.jpg" alt="" width="31" height="23" /></span></td>
<td height="24" class="tablepadding">Smashing goal scored by Ricky Walklett</td>
</tr>
<tr>
<td class="tablepadding"><span style="color: #000000;"><img src="uploads/images/text.jpg" alt="" width="31" height="23" /></span></td>
<td height="24" class="tablepadding">4th place Rodburne Real beaten 5-0</td>
</tr>
<tr>
<td class="tablepadding"><span style="color: #000000;"><img src="uploads/images/text.jpg" alt="" width="31" height="23" /></span></td>
<td height="24" class="tablepadding">Red Lion the first win of the season</td>
</tr>
<tr>
<td class="tablepadding"><span style="color: #000000;"><img src="uploads/images/text.jpg" alt="" width="31" height="23" /></span></td>
<td height="24" class="tablepadding">Training Thursday 26th Oasis 8:30 pm</td>
</tr>
</tbody>
</table>

(2nd table code)

<table width="296" border="1" cellpadding="0" cellspacing="0" bordercolor="#666666">
<tbody>
<tr>
<td height="20" class="tablepadding">Advertisment</td>
</tr>
<tr>
<td class="tablepadding"><object width="292" height="200">
  <param name="movie" value="http://www.youtube.com/v/9BR6YoFv_NQ&amp;hl=en_US&amp;fs=1&amp;" />
  <param name="allowFullScreen" value="true" />
  <param name="allowscriptaccess" value="always" />
  <embed type="application/x-shockwave-flash" width="292" height="200" src="http://www.youtube.com/v/9BR6YoFv_NQ&amp;hl=en_US&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed>
</object></td>
</tr>
</tbody>
</table>




Text ID: TABLE_PADDING_IN_IE_PROBLEM



Comments (0)

To add a comment, please Log in.








CSS Advisor home
Submit a post

rss

CSS ADVISOR RSS FEEDS
Recent: POSTS | COMMENTS | EDITS


Browsers
Internet Explorer (103)
Mozilla/Firefox (52)
Opera (18)
Safari (38)
CSS Properties
Background (25)
Border (10)
Color (10)
Float (23)
Font (6)
Margin (11)
Padding (9)
Position (40)
Text (30)
Width/Height (27)