Something strange is happening - as I shorten the height of the browser, elements on the page start to overlap. I've tried using Firebug to troubleshoot, but haven't had any luck so far. Maybe someone here can help me out!
EDIT:
It seems that ever since I added the video, this issue started occurring.
HTML
<section id="video">
<video width="745px" height="414px" controls="controls" poster="video/video-poster.png">
<source src="video/intro-video.mp4">
<source src="video/intro-video.ogv">
<source src="video/intro-video.webm">
<iframe width="745" height="414" src="//www.youtube.com/embed/Dhqnn3bA7LU" frameborder="0" allowfullscreen></iframe>
</video>
</section>
CSS
#video {
position: relative;
margin: 0 auto;
margin-bottom: 15px;
text-align: center;
max-width: 745px;
width: 100% !important;
height: auto !important;
}
video {
max-width: 745px;
width: 100% !important;
height: auto !important;
}
Link:
Huge thanks in advance!
This is how it looks normally
And this is what happens when you shorten the browser height