[whatwg] a and button

Kornel Lesinski kornel at geekhood.net
Sun Oct 19 08:18:40 PDT 2008


On Sun, 19 Oct 2008 16:09:11 +0100, Håkon Wium Lie <howcome at opera.com>  
wrote:

>  > <button style="text-decoration: underline; color:blue">W3C</button>
>
> It's not a link. I'd like for buttons to work as links so that they
> take me to a page when I click on them.

http://www.w3.org/TR/css3-ui/#appearance

a {appearance: button} should do that.

In current browsers:

<form method="get" action="url" style="display:inline"><button/><form>

is very close to a link.

-- 
regards, Kornel Lesinski



More information about the whatwg mailing list