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
  • ?

  • #56820
    AshtonSanders
    Participant

    alternatively, and extra work:

    is making sure your <li> doesn’t have any padding, and put the <a> inside with a "display:block" and any other declarations you need to make it fill the <li> (Height? Width?)

    For a good example, the tabs at the top of the page (Artiles, forums, …) are <a>’s inside of <li> but you don’t even notie the li’s

    Ashton Sanders