Hi,
Anyone got any ideas as to why this CSS won't center my table in FireFox? (works fine in IE);
padding: 2px 2px 2px 2px;
margin-top: 5px;
border-collapse: collapse
width: 75%;
font-size: 11px;
align: center;
}
.front_cat_table td {
width: 50%;
align: center;
text-align: center;
}
HTML:
<p>To start your search, please select a category from below, or use our search facility found above.</p>
<table class="front_cat_table">
<tr>
<td>
<p align="center"><img src="/image/7/793107-desk_1091.gif" alt=" desk_1091 " border="0"></td>
<td>
<p align="center"><img src="/images/793855-tn_chat_923.gif" border="0" height="32" width="32"></td>
</tr>
<tr>
<td>
<p align="center">Businesses</td>
<td>
<p align="center">People</td>
</tr>
</table>
Been driving me nuts :(
TIA!
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Anyone got any ideas as to why this CSS won't center my table in FireFox? (works fine in IE);
Code:
.front_cat_table { padding: 2px 2px 2px 2px;
margin-top: 5px;
border-collapse: collapse
width: 75%;
font-size: 11px;
align: center;
}
.front_cat_table td {
width: 50%;
align: center;
text-align: center;
}
HTML:
Code:
<h3>Find People...</h3> <p>To start your search, please select a category from below, or use our search facility found above.</p>
<table class="front_cat_table">
<tr>
<td>
<p align="center"><img src="/image/7/793107-desk_1091.gif" alt=" desk_1091 " border="0"></td>
<td>
<p align="center"><img src="/images/793855-tn_chat_923.gif" border="0" height="32" width="32"></td>
</tr>
<tr>
<td>
<p align="center">Businesses</td>
<td>
<p align="center">People</td>
</tr>
</table>
Been driving me nuts :(
TIA!
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!