On Sun, Oct 19, 2008 at 9:54 AM, Philipp Serafin <[EMAIL PROTECTED]> wrote:
> 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/"><button>W3C</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. > > > > Cheers, > > > > -h&kon > > Håkon Wium Lie CTO °þe(R)ª > > [EMAIL PROTECTED] http://people.opera.com/howcome > > > > What's wrong with > > <button style="text-decoration: underline; color:blue">W3C</button> > > ? 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. ~TJ
