I have this menu that currently has two IDs that can be more.
<ul>
<li><span class="ytVideo" data-videoID="6AmRg3p79pM">(Youtube 1)</span></li>
<li><span class="ytVideo" data-videoID="El3IZFGERbM">(Youtube 2) </span>
</li>
As you can see there are two youtube IDs on them, I would like to align them side by side. instead of one below the other. it's a clickable menu.
menu css
#videoGallery ul {
list-style: none;
margin: 0;
padding: 0;
}
#videoGallery span {
display: block;
background-color: steelblue;
color: #fff;
font-family: sans-serif;
cursor: pointer;
padding: 4px 10px;
border-bottom: 1px solid #fff;
}
#videoGallery li {
position: relative;
}
span.nowPlaying {
position: absolute;
top: 0;
right: 0;
}
Example of how it should look: link