Zozart
07-04-2004, 16:18
Well, I was meant to be working on my forum template today, but in the end I ended up playing around with CSS to see how far I could push it. Needless to say, using the :hover pseudo class I managed to get it to do some pretty neat things.
Unfortunately, IE simply will not let the :hover pseudo class work at all, so this is a Gecko only outing.. I've found it works best in Firefox/Mozilla.. Opera works okay, but it has a small problem with 'focusing' links which means it doesn't work as well as Firefox (you'll see what I mean).
Anyhow, here it is (remember, there's no Javascript) - http://zyon.org/css/
While not particuarly useful yet, you can probably see how this sort of thing could be used in the future. Unfortunately as I said before, that's not likely to happen for a while because Microsoft are too darn lazy to work on their IE engine so it works well wtih CSS1/2.
The CSS/XHTML is all there, so feel free to take a poke around and see what you can come up with yourself :D
Oh yeah, the background-color does change, and I'm pretty sure this is just a bug for Firefox (doesn't change in Opera). Not quite sure how it works, but it does. :p
Unfortunately, IE simply will not let the :hover pseudo class work at all, so this is a Gecko only outing.. I've found it works best in Firefox/Mozilla.. Opera works okay, but it has a small problem with 'focusing' links which means it doesn't work as well as Firefox (you'll see what I mean).
Anyhow, here it is (remember, there's no Javascript) - http://zyon.org/css/
While not particuarly useful yet, you can probably see how this sort of thing could be used in the future. Unfortunately as I said before, that's not likely to happen for a while because Microsoft are too darn lazy to work on their IE engine so it works well wtih CSS1/2.
The CSS/XHTML is all there, so feel free to take a poke around and see what you can come up with yourself :D
Oh yeah, the background-color does change, and I'm pretty sure this is just a bug for Firefox (doesn't change in Opera). Not quite sure how it works, but it does. :p