PDA

View Full Version : Opera7-Button style: How to realize for IE and NS?


Prof. Snape
11-20-2002, 02:48 AM
I've just installed the Opera7 beta and yes, I'm pretty fond of it!
What I found very nice, is that Opera now turns "normal" grey submit- or whatever-buttons into very nice flash-like buttons.

Does anybody here have an idea how to imitate this style?

I have attached the css-file that I think it might contain the relevant data, but as Opera has lots of css-files aboard, I'm not sure if this is the one.

Thanks in advance for any hint, comment or solution.

DCElliott
11-20-2002, 05:30 AM
Prof - another bad-hair day?

Could you send us a cropped screenshot of the button style? With CSS you can make a button look like anything you want, including (I think) having an image background.

Prof. Snape
11-20-2002, 06:43 AM
what cannot be shown with these pics: when the mouse moves over this submit-button, it _slowly_ changes its appearance; this is what i mean by "Flash"-style although it definitely is no Flash.

HZR
11-20-2002, 07:35 AM
The "animation" can not be done with just CSS if that's what you asking.
You could mimic this by "mixing" in some JS though.

DCElliott
11-20-2002, 07:40 AM
The appearance change can be coded in CSS quite easily. The fade transition, though would have to be effected either with javascript or hardcoded in the browser so that form button objects use a fade transition when hovered. This is a hypothesis, I haven't used Opera - I find two buggy browsers quite enough.

(sorry for the crack about the hair - I should talk :hehe: )