On Tue, Jan 09, 2007 at 01:15:14PM +0000, Barney Carroll wrote:
> Styled buttons are a bucketful of issues. Normally it's practice to 
> complain about the current release of WebKit, but I've just bumped into 
> the issue of :hover and all those other pseudo-classes IE believes 
> should be reserved for <a>s exclusively.

Isn't that fixed in IE 7?

> My client complains that my heavily styled buttons do not obey the 
> modern convention of highlighting when mouseovered (which they do in FF, 
> but of course my hover properties are ignored by IE) - hence being 
> ambiguous in their interactivity. They're entirely right, but do I have 
> to strip my buttons of their styling to be able to achieve this?

> Moreover, just how evil would it be for me to simply wrap the buttons in 
> <a>s

I wouldn't like to gamble on browser interpretation of wrapping
buttons with links (and IE6 supports :hover only on links, not just
any anchor).

I'd attach an event handler (with JavaScript) that toggles a class
onmouseover and removes it onmouseout. The JQuery library makes this
very easy.

> and giving the CSS [a:hover input.button{cursor:pointer}]?

If its just the cursor property you are playing with, then don't worry
about :hover. It describes the mouse pointer only when over that
element anyway.


-- 
David Dorward                                      http://dorward.me.uk



*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to