[whatwg] a and button

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

Received on Sunday, 19 October 2008 08:18:40 UTC