Gossamer Forum
Home : General : Chit Chat :

Centering a table, insize a div ... not working in FF :/

Quote Reply
Centering a table, insize a div ... not working in FF :/
Hi,

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!
Subject Author Views Date
Thread Centering a table, insize a div ... not working in FF :/ Andy 8969 May 2, 2007, 6:07 AM
Thread Re: [Andy] Centering a table, insize a div ... not working in FF :/
LoisC 8586 May 10, 2007, 8:47 AM
Thread Re: [LoisC] Centering a table, insize a div ... not working in FF :/
Andy 8536 May 11, 2007, 1:23 AM
Thread Re: [Andy] Centering a table, insize a div ... not working in FF :/
brewt 8643 May 11, 2007, 2:08 AM
Post Re: [brewt] Centering a table, insize a div ... not working in FF :/
Andy 8517 May 11, 2007, 2:15 AM
Post Re: [Andy] Centering a table, insize a div ... not working in FF :/
Alba 8527 May 10, 2007, 11:26 AM
Post Re: [Andy] Centering a table, insize a div ... not working in FF :/
Watts 8491 May 10, 2007, 11:42 AM