> When a user puts their mouse over a td i want the left borderline to be
> red....
>
> onMouseover="style.border-left= 'red thin solid';"
>
> Is what i thought would do it....
>
> It works for style.border but i want only the left
>
> I am sure it is something silly that i am missing....
>
> Ideas????
This can be done without javascript:
td a {
border: 1px solid black;
display: block;
}
td a:hover {
border-left: 1px solid red;
}
The benefits of doing it without the javascript is that it will work in
any css-capable browser, regardless of settings.
The downfall, is that you need to have the a (I don't know if this is
for navigation or something else). Obviously, you may need to create a
class if you have td cells on the page you don't want this happening
with.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community. http://www.fusionauthority.com/ads.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4