Hey there, I'm currently attempting to align 2 elements vertically.
<div>
<h1>heading</h1>
<nav>
<ul>LIs...</ul>
</nav>
</div>
I'm looking to have the h1 on the left and the nav on the right. However, vertical alignment doesn't seem to work with floated elements :( Any potential workarounds?
edit: When using the table cell solution, the size of the h1 changes. Is there a way to prevent this?
I've already attempted setting width:auto.