<div dir="ltr"><div class="gmail_quote">On Sun, Oct 19, 2008 at 9:54 AM, Philipp Serafin <span dir="ltr"><<a href="mailto:phil127@gmail.com">phil127@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="Ih2E3d">On Sun, Oct 19, 2008 at 2:57 PM, Håkon Wium Lie <<a href="mailto:howcome@opera.com">howcome@opera.com</a>> wrote:<br>
> I'd like to have a simple way of using <button> along with <a> to<br>
> create pretty links. This markup works in Opera, Mozilla, and Webkit:<br>
><br>
>  <a href="<a href="http://www.w3.org/" target="_blank">http://www.w3.org/</a>"><button>W3C</button></a><br>
><br>
> but it's not valid HTML5 it seems. I propose to make it valid.<br>
><br>
> The inverse (a inside button) only works in Webkit.<br>
><br>
> Cheers,<br>
><br>
> -h&kon<br>
</div>>              Håkon Wium Lie                          CTO °þe(R)ª<br>
<div class="Ih2E3d">> <a href="mailto:howcome@opera.com">howcome@opera.com</a>                  <a href="http://people.opera.com/howcome" target="_blank">http://people.opera.com/howcome</a><br>
><br>
<br>
</div>What's wrong with<br>
<br>
<button style="text-decoration: underline; color:blue">W3C</button><br>
<br>
?</blockquote><div> </div></div>The one real difference that I've run into with links and buttons is that buttons are shrink-to-fit in block-display, while links are not.  This only matters when you actually *need* to display them as block, frex when centering, though many of these situations can be fixed by putting text-align on the parent.<div>
<br></div><div>~TJ</div></div>