Hi, in HTML5 you can nest divs into a <a></a> block, as you can see here<http://www.w3schools.com/html5/tag_a.asp>and in the next example:
<a href="http://somewhere.com"> <div id="myDiv"> <p>Here is my fancy text</p> </div> <div id="anotherDiv"> <p>More fancy text</p> </div> </a> In this example both divs are links. Regards. Joseph. 2010/12/23 John D <xfs...@hotmail.com> > > > How about putting a link within a div to make a proper link? Most websites > these days have a masthead that is linkable and clicking on it takes you to > the main home page. Is this what you are asking? > > hth > > > > > Is it possible for a div to be a link? > > > > I'm trying to make a logo, which is a background in a masthead, as a > > link. The masthead div also contains the horizontal nav. > > > > I was thinking of making another div, float it left and use a negative > > margin (or a positioning attribute) to position the box over the logo > > and have the link over the logo. > > > > I'm sure this is a super hack and there is a better way, if anyone > > cares to enlighten me. > > > > > ______________________________________________________________________ > css-discuss [cs...@lists.css-discuss.org] > http://www.css-discuss.org/mailman/listinfo/css-d > List wiki/FAQ -- http://css-discuss.incutio.com/ > List policies -- http://css-discuss.org/policies.html > Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ > ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/