I need help with a css "fade-in" code please
Posted: Tue Jun 19, 2007 1:52 pm
i have the following code
<style type="text/css">
#fade-in {
width:100px;
height: 100px;
display: block;
border: 0px solid blue;
background: transparent;
}
#fade-in a:hover {
background: cccccc;
}
#fade-in a {
width:100px;
height: 100px;
display: block;
text-decoration: none;
}
</style>
</head>
<body>
<div id="fade-in">
<table><tr><td>
<a href="URL">NAME OF URL</a>
</div>
what i would really like is for this code to work while im hovering over a table cell
-NOT a box with a url, in the above code if you dont have a url the fade-in effect does not work
-i need the code to be modified so that when ever the mouse goes over any table cell, the background fades to gray and then disapears as the mouse leaves
-if possible i would like it to work with class="CLAS NAME" OR "id="fade-in" which ever works, this is so i can just put <td class="CLAS NAME"> while im working in my html
<style type="text/css">
#fade-in {
width:100px;
height: 100px;
display: block;
border: 0px solid blue;
background: transparent;
}
#fade-in a:hover {
background: cccccc;
}
#fade-in a {
width:100px;
height: 100px;
display: block;
text-decoration: none;
}
</style>
</head>
<body>
<div id="fade-in">
<table><tr><td>
<a href="URL">NAME OF URL</a>
</div>
what i would really like is for this code to work while im hovering over a table cell
-NOT a box with a url, in the above code if you dont have a url the fade-in effect does not work
-i need the code to be modified so that when ever the mouse goes over any table cell, the background fades to gray and then disapears as the mouse leaves
-if possible i would like it to work with class="CLAS NAME" OR "id="fade-in" which ever works, this is so i can just put <td class="CLAS NAME"> while im working in my html