Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS How do I link an entire <div> or <li>? Re: How do I link an entire

or
  • ?

  • #56821
    TheDoc
    Member

    It should be possible without JS as well:

    HTML:

    Code:

    CSS:

    Code:
    div.name a {
    height:100px;
    width:200px;
    display:block;
    background:black;
    text-indent:-99999px;
    }

    An area of 200x100px with a black background should be clickable.