[thelist] simple css help
ben morrison
morrison.ben at gmail.com
Fri Oct 28 12:01:55 CDT 2005
On 10/28/05, Casey <aspnet at thecrookstons.com> wrote:
> Okay Thanks- but this still does not have the desired effect on the td
> background color. Try and execute the code I put in the first post so you
> can get an idea of what the total effect is. Also, take a look at the site
> where you can see it in action.
maybe this will help - you need to recode what you've done to use a
similar technique...
table..myLinks td a means the link inside the table column inside the
table with class of myLinks
<style type="text/css">
table.myLinks td a {
display:block;
padding:10px;
width:80px;
color:white;
background:blue;
}
.myLinks td a:hover {
background:red;
}
</style>
<table class="myLinks">
<tr>
<td><a href="#">link1</a></td>
<td><a href="#">link1</a></td>
</tr>
</table>
More information about the thelist
mailing list