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.
<div id="header"><div id="ads"></div></div>
<style type="text/css">
#header {
height: 100px;
width: 980px;
background-image: url(logo.png);
}
#ads {
height: 80px;
width: 460px;
float: right;
margin: 10px 10px 10px auto;
}
</style>
DireWolf каза:Код:<div id="header"><div id="ads"></div></div> <style type="text/css"> #header { height: 150px; width: 880px; margin: 0 auto; background-color: url(../images/header.jpg) no-repeat; } #ads { height: 60px; width: 480px; float: right; margin: 45px 45px 45px auto; } </style>