Forums

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

Home Forums Other navigation and buttons Reply To: navigation and buttons

#248466
Shikkediel
Participant

They won’t be targeting the same element in any case. The latter will be a direct child a of nav that is outside of the ul.

<nav>
 <a></a>
 <ul>
   <li>
     <a></a>
   </li>
 </ul>
</nav>

But maybe you can provide some HTML markup, the question’s not exactly clear. I’m assuming you’re not actually using button elements for example but that that was a figure of speech.