
December 19th, 2012, 06:11 AM
|
|
Contributing User
|
|
Join Date: Jul 2004
Posts: 199
Time spent in forums: 1 Day 2 h 10 m 55 sec
Reputation Power: 9
|
|
|
Reformatting the contents of table rows
Hi,
I'm trying to take the content from table rows and reformat it.
You can see a sample structure of the HTML below:
Code:
<table><tr>
<td class="fixData" align="right" width="40%">Team 1</td><td class="fixData" align="center" width="10%"> v </td><td class="fixData" align="left" width="40%">Team 2</td> <td class="fixData" align="right" width="10%"><a href="#">Results</a></td>
</tr><tr>
<td class="fixData" align="right" width="40%">Team 3</td><td class="fixData" align="center" width="10%"> v </td><td class="fixData" align="left" width="40%">Team 4</td> <td class="fixData" align="right" width="10%"><a href="#">Results</a></td>
</tr></table>
I'm trying to change it to:
<tr>
<td class="newfixData"><a href="result.php?Team1-Team2">Team 1 v Team 2</a></td>
</tr>
Any ideas how I could do this?
|