Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature may not be available in some browsers.
<html>
<head>
<style>
body {
/* background-color:F5F5F5;*/
background-color:#ECEDED;
font-family: "Myriad Pro", Arial, Helvetica, Tahoma, sans-serif;
}
.overlay {
/* must be initially hidden */
/* place overlay on top of other elements */
z-index:10000;
/* styling */
background-color:#717274;
width:700px;
min-height:200px;
border:1px solid #666;
/* height:450px;*/
height:auto;
/* CSS3 styling for latest browsers */
/*-moz-box-shadow:0 0 90px 5px #000;
-webkit-box-shadow: 0 0 90px #000; */
border:1px solid #aaaaaa;
-moz-border-radius:10px;
-khtml-border-radius:30px;
}
.overlay div.overlay_links {
position:relative;
border:1px solid red;
float:left;
}
.overlay div.overlay_rechts {
position:relative;
margin-left:325px;
padding-left:20px;
padding-top:25px;
max-height:350px;
padding-right:25px;
}
.overlay h1 {
display:inline;
color: #009ee0;
}
.overlay div.overlay_links img {
margin-top:25px;
padding-left:25px;
width:300px;
/*height:400px;*/
height:
}
.overlay p {
display:inline;
color:white;
}
.overlay p.autor {
font-size:1.3em;
}
.overlay div#preisZahl {
color:white;
display:inline;
padding-left:15px;
font-size:larger;
}
.overlay div#isbnZahl {
padding-left:15px;
color:white;
display:inline;
}
.overlay div#beschreibung {
color:white;
max-height:250px;
overflow:auto;
font-size:smaller;
min-height:50px;
}
.overlay div#cartimage {
padding-top:10px;
margin-left:325px;
padding-left:120px;
padding-bottom:10px;
}
.overlay div#seitenZahl {
display:inline;
color:white;
padding-left:15px;
}
</style>
</head>
<body>
<div class="overlay">
<div class="overlay_links">
<img src="../../../../Dokumente und Einstellungen/Lotus/Eigene Dateien/Eigene Bilder/Kartenblatt/herzacht.gif" />
</div>
<div class="overlay_rechts">
<h1>Alle sieben Wellen</h1><br />
<p class="genre">Roman</p><br />
<p class="autor">Daniel Glattauer</p><br /><br />
<p class="isbn">ISBN <div id="isbnZahl">123456789X</div></p><br />
<p class="preis">Preis <div id="preisZahl">9.99€</div></p><br /><br />
<div id="beschreibung">Kennen Sie schon Emmi Rothner und Leo Leike</div><br />
<p class="seiten">Seiten <div id="seitenZahl">321</div></p>
</div>
<div id="cartimage"><img src="../images/addtocartbutton.png" /></div>
</div>
</body>
</html>
Das Bild wird durch das float aus dem Fluss genommen, In deinem Fall hilft wenn #overlay ein position:absolute bekommt.
Dann machst du etwas falsch.
Meinst du etwa, deine Antwort war hilfreich? Ich habe es getest und es funktioniert einwandfrei, wenn es bei dir nicht funktioniert, dann machst du etwas falsch! Mehr kann man nicht dazu sagen.wow hilfreich ._.
Okay vorschlag, du postest den code den du hast und der funktioniert und dann probier ich es damit?
Nicht mal nach einer Woche?Wieso kannst du kein position:absolute in deinen Code einbauen?
.overlay {
position:absolute;
}