On Monday 02 July 2007 01:34, Robert James wrote:
> On 7/1/07, Mark Kelly <[EMAIL PROTECTED]> wrote:
> > On Sunday 01 July 2007 21:50, Robert James wrote:

> > > I'd like to have an entire DIV, including H2's, be a hyperlink (A).
> > > (Why? Imagine a web app with various panels with can be clicked on).

> > Have you considered the <button> form element rather than using a div?

> Interesting approach... is it possible to do this without a form - with
> a simple href?

You aren't exactly asking about a "simple" href though, are you?

It certainly can't be done the way I suggested without the form, as 
<button> is a form element. If you look at the brief example I posted, you 
can see that the destination for the link is defined in the action of the 
<form> element, so you can hardly miss it out and expect to get a working 
link.

Mark

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to