05-30-2005, 09:32 AM
I am using >>>
how can i add a no-repat and 50% 50% position ?
05-30-2005, 09:37 AM
05-30-2005, 09:28 PM
you mean this code :
onmouseover="this.style.background='url(btn_over.gif) no-repeat 50% 50%';" onmouseout="this.style.background='url(btn.gif) no-repeat 50% 50%';"
should work ?
05-31-2005, 04:32 AM
background:url(btn_over.gif) no-repeat 50% 50%;
background:url(btn.gif) no-repeat 50% 50%;
You can use :hover and :active pseudo-classes to any element except in IE where those are only applicable to links. But there's a fix (http://www.vladdy.net/demos/iepseudoclassesfix.html) for IE without putting onmouseover and onmouseout handlers to each element.
05-31-2005, 07:02 PM
CSS is not a problem
06-01-2005, 07:07 AM
It's your choice, I'm just suggesting an easier and better alternative solution.