Or why not set an <a> to display block and have the logo be the bg of that <a> instead of the div?
On Wed, Dec 22, 2010 at 5:36 PM, Michael Beaudoin <[email protected]> wrote: > 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. > > Thanks, > Michael > ______________________________________________________________________ > css-discuss [[email protected]] > 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/ > -- Tom Livingston | Senior Interactive Developer | Media Logic | ph: 518.456.3015x231 | fx: 518.456.4279 | mlinc.com ______________________________________________________________________ css-discuss [[email protected]] 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/
