css & xhtml >.<

Associate
Joined
7 Nov 2004
Posts
1,755
Location
Southampton/Oxford
right i have a problem thats been buggin me for ages!!


my html
Code:
<table class="pricetable" width="33%" border="3" cellpadding="2" cellspacing="1" >
  <tr> 
    <th colspan="3">Price Table</th>
  </tr>
  <tr> 
    <td class ="pay">Pay according to month:</td>
    <th class ="silver" align="centre">Silver Membership</th>
    <th class ="gold" align="center">Gold Membership</th>
  </tr>
  <tr class ="row1"> 
    <td><div align="center">September</div></td>
    <td><div align="center">&pound;90</div></td>
    <td><div align="center">&pound;105</div></td>
  </tr>
  <tr class = "row2"> 
    <td><div align="center">October</div></td>
    <td><div align="center">&pound;85</div></td>
    <td><div align="center">&pound;100</div></td>
  </tr>
  <tr class = "row3"> 
    <td><div align="center">November</div></td>
    <td><div align="center">&pound;80</div></td>
    <td><div align="center">&pound;95</div></td>
  </tr>
  <tr class ="row4"> 
    <td><div align="center">December</div></td>
    <td><div align="center">&pound;75</div></td>
    <td><div align="center">&pound;90</div></td>
  </tr>

my css
Code:
tr.exchnage
{

text-align: center;

}

table}
text-align:center;
}


and i havn't put all of the html and css because its long but anyways im trying to align all the text in the table center and add text colour to some of the cells of one colour and another cells another, can someone help me!?

like this #
 
thanks a lot Mr, Mastermind and Aug, really helped but thanks to ya Mr L, ya understood meh while me tutor got confused! git! cheers dudes!
 
Back
Top Bottom