0
I have this menu that at the moment has two ID that may 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 line them up next to each other. instead of one below the other. is 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 what it should look like: https://jsfiddle.net/zh61vq0z/6/
See if this example serves you: https://jsfiddle.net/SamirChaves/zh61vq0z/8/
– Samir Braga