- From: Håkon Wium Lie <howcome@opera.com>
- Date: Sun, 19 Oct 2008 17:32:16 +0200
Also sprach Kornel Lesinski: > > 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. Yes, that's a good proposal. However, it doesn't work in current browsers. This markup works (in Mozilla, Opera, Webkit), and it looks pretty good: <a href="http://www.w3.org/"><button>W3C</button></a> So, I think HTML5 should describe it. > In current browsers: > > <form method="get" action="url" style="display:inline"><button/><form> > > is very close to a link. Yes, this works: <form action="http://www.w3.org" style="display:inline"><button type="submit">W3C</button><form> But, the markup isn't pretty. Also, I'd like for links to use the <a> element. -h&kon H?kon Wium Lie CTO ??e?? howcome at opera.com http://people.opera.com/howcome
Received on Sunday, 19 October 2008 08:32:16 UTC