I've encountered an issue with one of my divs where the nested nav tags are not displaying correctly when inspected in Firefox or Chrome. The div appears isolated from its contents.
<div class="nav">
<nav class="social">
<ul>
<li><a href="#"><img class="icon" src="assets/facebook.png" alt=""></a></li>
<li><a href="#"><img class="2 icon" src="assets/google.png" alt=""></a></li>
<li><a href="#"><img class="icon" src="assets/linkedin.png" alt=""></a></li>
<li><a href="#"><img class="icon" src="assets/twitter.png" alt=""></a></li>
<li><a href="#"><img class="icon" src="assets/wordpress.png" alt=""></a></li>
</ul>
</nav>
<!-- @include _nav -->
</div>
The issue could be related to the CSS styling, so here is the relevant CSS code. It's possible that this issue relates to Hammer for Mac, but it seems to function properly in other contexts.
.head {
padding-top: 25px;
overflow: hidden;
padding-bottom: 10px;
// background-color: yellow;
}
h1 {
margin: auto;
text-align: center;
color:white;
font-family: sans-serif;
font-size: 35px;
text-shadow: ...
...
.social li {
display: inline;
}
Thank you for any assistance offered.