[whatwg] a and button

2008-10-19 Thread Håkon Wium Lie
I'd like to have a simple way of using button along with a to create pretty links. This markup works in Opera, Mozilla, and Webkit: a href=http://www.w3.org/;buttonW3C/button/a but it's not valid HTML5 it seems. I propose to make it valid. The inverse (a inside button) only works in Webkit.

Re: [whatwg] a and button

2008-10-19 Thread Philipp Serafin
On Sun, Oct 19, 2008 at 2:57 PM, Håkon Wium Lie [EMAIL PROTECTED] wrote: I'd like to have a simple way of using button along with a to create pretty links. This markup works in Opera, Mozilla, and Webkit: a href=http://www.w3.org/;buttonW3C/button/a but it's not valid HTML5 it seems. I

Re: [whatwg] a and button

2008-10-19 Thread Håkon Wium Lie
Also sprach Philipp Serafin: a href=http://www.w3.org/;buttonW3C/button/a What's wrong with button style=text-decoration: underline; color:blueW3C/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. -hkon

Re: [whatwg] a and button

2008-10-19 Thread Kornel Lesinski
On Sun, 19 Oct 2008 16:09:11 +0100, Håkon Wium Lie [EMAIL PROTECTED] wrote: button style=text-decoration: underline; color:blueW3C/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

Re: [whatwg] a and button

2008-10-19 Thread Håkon Wium Lie
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

[whatwg] Fwd: a and button

2008-10-19 Thread Garrett Smith
-- Forwarded message -- From: Garrett Smith [EMAIL PROTECTED] Date: Sun, Oct 19, 2008 at 9:12 AM Subject: Re: [whatwg] a and button To: Håkon Wium Lie [EMAIL PROTECTED] Håkon Wium Lie wrote: Also sprach Kornel Lesinski: It's not a link. I'd like for buttons to work as

Re: [whatwg] a and button

2008-10-19 Thread Timothy Hatcher
You need the WebKit prefix for it to work in WebKit. So it is: -webkit-appearance But it does work. On Oct 19, 2008, at 8:32 AM, Håkon Wium Lie wrote: Yes, that's a good proposal. However, it doesn't work in current browsers. — Timothy Hatcher

Re: [whatwg] a and button

2008-10-19 Thread timeless
This of course doesn't support open link in new window/tab, download link, bookmark link, drag copy anchor, and history coloring. not sure if i've missed anything. a number of these things are actually browser bugs imo, but solving them is non trivial (if not nearly np-hard) On 10/19/08, Kornel

Re: [whatwg] a and button

2008-10-19 Thread Nils Dagsson Moskopp
Am Sonntag, den 19.10.2008, 17:32 +0200 schrieb Håkon Wium Lie: 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