Sent by Rijk van Geijtenbeek on 10 February 2002 16:04
On Sunday, February 10, 2002, BigJohn wrote:
> There's a funny bug in Opera 6/win98 I can't
> figure out.
> Seems that browser won't show the pseudo-class
> values (except for background and color) during
> Hover. They're set to relativly position up and
> left 1 pixel along with border changes, to simulate
> a button lift.
I have to say the effect looks really good in IE. But Opera is not
inclined to do anything line that for pseudo-classes. Opera will not
change the flow of the document once it has drawn the page...
[...]
> a.menubutton:hover {
> position: relative;
> left: -1px;
> top: -1px;
... so this will not work.
You can however add these two lines two the styles for
a.menubutton:hover to achieve almost the same effect:
border-style: outset;
border-width: 1px;
That looks great in Opera, but fancy borders don't look very nice in
MSIE IMHO.
Currently, you define border-colors, but that makes no sense without
defining a style and a width at the same time, because border-style
defaults to 'none'. You might argue Opera should inherit those from
the styles for a.menubutton, and I wont argue with you then.
Inheritance in/between the link pseudoclasses is buggy in Opera. To
compensate, MSIE doesn't honor the background and bordercolor changes
in the :active pseudoclass.
[...]
> http://users.rraz.net/mc_on_the_rocks/rides/sara.html
BTW, you have some HTML comments in your stylesheet. They are not
supposed to be there, and they can cause problems in some browsers.
Greetings,
Rijk [EMAIL-REMOVED]
(Opera Software employee)
Mot du Jour:
The mind is like a parachute - it works only when open.