PHP_Masters
Registered
Значи поставил съм си фон който при всички резолюции да се променя, и си поставих едно видео, обаче като се опитам да го позиционирам избутва под фона пикселите които съм задал
Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"/>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>асд</title>
<style>
html
{
margin: -8;
padding: 0;
}
#bg img {
position: absolute;
z-index: 1;
width: 100%;
height: 100%;
}
.video
{
position: absolute;
z-index: 1;
width:100%;
height:100%;
padding-left: 662px;
padding-top: 145px;
}
</style>
</head>
<body>
<div id="bg"><img src="css/images/autocinema2.gif" /></div>
<div class="video">
<iframe title="YouTube video player" class="youtube-player" alt="asd" type="text/html"
src="http://www.youtube.com/embed/pa14VNsdSYM" frameborder="0" style="width:40.4%;
height:35.7%;"></iframe>
</div>
</body>
</html>