Click to See Complete Forum and Search --> : CSS mouseover


PhilgB
05-11-2003, 08:44 AM
Im using CSS to change the background of a link instead of js/imageflip. However, the background image does not show in NS6.

Its a tiny image positioned center, right, in the background. Are there any background positioning issues with NS?

Any ideas?

Thanks

nkaisare
05-11-2003, 09:52 AM
However, the background image does not show in NS6.
Are there any background positioning issues with NS?
Not that I know of. Eric Meyer's site (http://www.meyerweb.com/eric/css/edge/popups/demo.html and http://www.meyerweb.com/eric/css/edge/popups/demo2.html) looks fine with NS6.2.

Run your HTMl and CSS thru validators to spot any error.

Its a tiny image positioned center, right, in the background.
Do you mean middle, right?

PhilgB
05-11-2003, 10:18 AM
Im using shorthand version. Might that be the problem?

background:url("images/bullet.gif") no-repeat center right;

nkaisare
05-11-2003, 10:52 AM
Nope, short-hand version is not a problem.

1. Did you validate your pages?
2. Did you try using NS7? Did you try some other browser such as Opera 7.10?

Post the url, that would help.

In general, this is how I do:
a {display: block; width: 150px; background: #fff url('offbg.gif') no-repeat middle right; color: navy; text-decoration: none}
a:hover, a:active {background: url('onbg.gif'); color: red}