W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2008

[whatwg] a and button

From: Kornel Lesinski <kornel@geekhood.net>
Date: Sun, 19 Oct 2008 16:18:40 +0100
Message-ID: <op.ui915epcptj49s@aimac.local>
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

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:44 UTC