The problem is that i want to align at left the word "Religion" and in addition i want to align using last-child all the th to the right.
what iam doing wrong ??
<html>
<head>
<title>
CSS Exercise 2
</title>
<!--this is a link to the css file you will make-->
<link rel="stylesheet" type="text/css" href="exercise2.css" />
<style>
body{text-align:center;}
h3{color:#993738;}
#all{border-collapse:collapse;font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;border:1px solid #993738;}
#all td, #all tr{border:1px solid #993738;}
#all #top{font-weight:bold;background-color:#993738;color:white;}
tr.bgray{background-color: #F2E9EC;}\
.b{text-align:left;}
.right{text-align:right;}
</style>
</head>
<body>
<h3>Geography Class</h3>
<table id="all">
<tr id="top">
<th class="b">Region</th>
<th>Percentage</th>
</tr>
<tr class="bgray">
<td >New England</td>
<td class="right">12%</td>
</tr>
<tr>
<td>Mid-Atlantic</td>
<td class="right">19%</td>
</tr>
<tr class="bgray">
<td >South and Puerto Rico</td>
<td class="right">15%</td>
</tr>
<tr>
<td>Midwest and Plains States </td>
<td class="right">12%</td>
</tr>
<tr class="bgray">
<td >Southwest and Mountain </td>
<td class="right">10%</td>
</tr>
<tr>
<td>West, Alaska, and Hawaii</td>
<td class="right">20%</td>
</tr>
<tr class="bgray">
<td >Abroad</td>
<td class="right">13%</td>
</tr>
</table>
</body>
</html>