[Seaside] Making anchors to submit

Michael Lucas-Smith mlucas-smith at cincom.com
Tue Dec 11 16:17:39 UTC 2007

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-.


More information about the seaside mailing list