[Seaside] Making anchors to submit

Philippe Marschall philippe.marschall at gmail.com
Tue Dec 11 16:38:21 UTC 2007


2007/12/11, Michael Lucas-Smith <mlucas-smith at cincom.com>:
> Lukas Renggli wrote:
> >> Yes I'll try styling submit buttons like anchors. Other anchors only
> >> underline while a:hover so my style challenge for that submit button will be
> >> that. But I think a mouseover and mouse out adding and removing a custom css
> >> class could do it.
> >>
> >
> > Why not use the implicit :hover pseudo-class?
> >
> Since it's not an anchor tag, IE6 won't use the :hover pseudo-class
> unless you load the IE7 javascript pack to make IE6 behave more like
> IE7... that said, you can possibly ignore this problem and pretend it's
> okay... or use javascript mouseover/mouseout to simulate the :hover.
>
> Personally, I'd just use the :hover pseudo-class and not worry about IE6-.

Yeah right. As long as you don't have customers, that's a very cool option.

Cheers
Philippe


More information about the seaside mailing list