Maybe stick it in a table, and give the table cell an id, and then have
a mouseover on the table cell change the bgcolor. Example follows. Question
to throw out there - is getElementById() an IE only thing? I have to admit,
I'm pretty green with the Javascript, and have only had call to write for IE
so far, and so haven't concerned myself too much with cross browser stuff.
<script>
function chBgcolor() {
document.getElementById("link1").bgColor = "FFFFFF";
return true;
}
</script>
[html]
<tr>
<td id="link1" onmouseover="chBgcolor();"><a href="link">link
text</a></td>
</tr>
"domeceo" <do************@mail.forum4designers.com> wrote in message
news:do************@mail.forum4designers.com...
I'm new to CSS. I have seen hover used with anchor elements to change
the text color but can it be used with any other elements? Are there
any other simple alternate methods of changing text color without the
use of images (like with onMouseover/onMouseout)?
domeceo
------------------------------------------------------------------------
Posted via http://www.forum4designers.com
------------------------------------------------------------------------
View this thread: http://www.forum4designers.com/message46697.html