471,618 Members | 1,235 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,618 software developers and data experts.

Table font color

how do i change the font color of a table here is my code
[html]
<tr>
<th>PICTURES</th>
<th>NAMES</th>
<th>PRICES</th>
</tr>
<tr>
<td>row 1, cell 1</td>
<td>pepperroni pizza</td>
<td>$2.00</td>
</tr>
<tr>
<td>row 2, cell 1</td>
<td>cheeseburger</td>
<td>$2.00</td>
</tr>
<tr>
<td>row 2, cell 1</td>
<td>nachos</td>
<td>$1.50</td>
</tr><tr>
<td>row 2, cell 1</td>
<td>french fries</td>
<td>$1.00</td>
</tr><tr>
<td>row 2, cell 1</td>
<td>4 dino nuggets</td>
<td>$1.00</td>
</tr><tr>
<td>row 2, cell 1</td>
<td>hot dog</td>

<td>$1.00</td>
</tr>
<tr>
<td>row 2, cell 1</td>
<td>corn dog</td>
<td>1.00</td>
</tr>
<tr>
<td>row 2, cell 1</td>
<td>6 pizza rolls</td>
<td>1.00</td>
</tr>
<tr>
<td>row 3, cell 1</td>
<td>chips</td>
<td>.50</td>
</tr><tr>
<td>row 2, cell 1</td>
<td>ice cream novelty</td>
<td>.50</td>
</tr><tr>
<td>row 2, cell 1</td>
<td>bomb pop</td>
<td>.50</td>
</tr><tr>
<td>row 2, cell 1</td>
<td>vitamen water</td>
<td>1.50</td>
</tr><tr>
<td>row 2, cell 1</td>
<td>2 bread stick</td>
<td>2.00</td>
</tr><tr>
<td>row 2, cell 1</td>
<td>6 toasted razoli</td>
<td>1.50</td>
</tr>center>
</table>[/html]
Nov 20 '07 #1
1 1784
drhowarddrfine
7,435 Expert 4TB
In your css:
td{color:red}
Nov 20 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by maceo | last post: by
19 posts views Thread by Craig | last post: by
7 posts views Thread by Shawn B. | last post: by
4 posts views Thread by eomer | last post: by
1 post views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.