JSFiddle - React, Tailwind, and code Playground
HTML
<nav id="navi_main" class="layoutCenter"><ul class="top"><li><a href="index.php?id=2" title="Bonusagentur">Bonusagentur</a><ul class="sub"><div class="menu_divide left"><li><a href="index.php?id=9" title="Vorstellung">Vorstellung</a></li><li><a href="index.php?id=10" title="Bonus-Ratgeber">Bonus-Ratgeber</a></li><li><a href="index.php?id=11" target="fancybox" title="Newsletter">Newsletter</a></li><li><a href="index.php?id=13" title="Kick-Tippspiel">Kick-Tippspiel</a></li><li><a href="index.php?id=15" title="Einkaufsvorteile">Einkaufsvorteile</a></li></div></ul></li><li><a href="index.php?id=3" title="Beratung & Job">Beratung & Job</a></li><li><a href="index.php?id=4" title="Gesund & Fit">Gesund & Fit</a></li><li><a href="index.php?id=5" title="Freizeit & Reisen">Freizeit & Reisen</a></li><li><a href="index.php?id=6" title="Vorsorge & Finanzen">Vorsorge & Finanzen</a><ul class="sub"><div class="menu_divide left"><li><a href="index.php?id=20" title="Versicherungen (Spartenübersicht)">Versicherungen (Spartenübersicht)</a><ul class="subsub"><li><a href="index.php?id=23" target="fancybox" title="Vermittlersuche" class="highlight">Vermittlersuche</a></li><li><a href="index.php?id=24" title="Altersvorsorge">Altersvorsorge</a></li><li><a href="index.php?id=25" title="Berufsunfähigkeit">Berufsunfähigkeit</a></li><li><a href="index.php?id=26" title="Hinterbliebenenschutz">Hinterbliebenenschutz</a></li><li><a href="index.php?id=27" title="Gesundheit">Gesundheit</a></li><li><a href="index.php?id=28" title="Pflegevorsorge">Pflegevorsorge</a></li><li><a href="index.php?id=29" title="Unfall">Unfall</a></li><li><a href="index.php?id=30" title="Kraftfahrzeuge">Kraftfahrzeuge</a></li><li><a href="index.php?id=31" title="Haus & Wohnen">Haus & Wohnen</a></li><li><a href="index.php?id=32" title="Haftplicht">Haftplicht</a></li><li><a href="index.php?id=33" title="Rechtsschutz">Rechtsschutz</a></li><li><a href="index.php?id=34"...
CSS
div{
border: 1px solid red;
width:100px;
}
#a{
height:auto;
}
JavaScript
$(function(){
$('#b').height($('#a').height());
})