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.
ich habe eine tabelle, die in keinem container liegt und nun wollte ich den container von oben über die tabelle legen - klappt bloss nicht - er schiebt die tabelle immer nach unten
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Unbenanntes Dokument</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style>
#container{
{ position: relative; top: 39px; left: 49px;
width: 200px; height: 200px; }
</style>
</head>
<body>
<div id="container">retretertretre</div>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="47"> </td>
<td>fdf</td>
<td>dsfsdfdsfdsf</td>
<td>sdsfdsf</td>
<td>fdffdsfdfdfdsfdsf</td>
</tr>
<tr>
<td height="43"> </td>
<td>fdsfddsfds</td>
<td> </td>
<td>dsfdfdf</td>
<td>dsfd</td>
</tr>
<tr>
<td height="50"> </td>
<td> </td>
<td>fsdfsdf</td>
<td>df</td>
<td> </td>
</tr>
<tr>
<td height="57"> </td>
<td> </td>
<td> </td>
<td>fsdfdsf</td>
<td>dsfsdfsdfsdfdf</td>
</tr>
</table>
</body>
</html>
<div>
<table>
<tr>
<td></td>
</tr>
</table>
</div>
<div> test </div>
<table>
<tr>
<td></td>
</tr>
</table>
kannst du mir vielleicht nocheinmal dabei helfen, wenn ich den container nicht mit den jetzigen positionsangaben positioniert haben möchte , sondern relativ zur mitte - also den abstand vom top fest top: 100px nur soll er nun 100px aus der mitte nach rechts verschoben werden
margin-top: 100px;
margin-right: 100px;
margin: 100px 100px;
nee, ich meinte das, er unabhängig von der bildschirmgrösse immer 100px aus der mitte des bildschirmes nach rechts verschoben wird
es wäre hilfreich, da ich es nicht verstehe, wenn du es genauer formulierst oder etwas zeichnest....
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Neuhaus</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script src="assets/scripts/camion-pourriel.js" type="text/javascript"></script>
<script src="assets/scripts/prepopulate.js" type="text/javascript"></script>
<script src="assets/scripts/jquery-1.2.3.pack.js" type="text/javascript"></script>
<script src="assets/scripts/jcycle.js" type="text/javascript"></script>
<script src="assets/scripts/jcycle_config.js" type="text/javascript"></script>
<style>
body { margin-left:0px;
margin-top:0px;
scrollbar-base-color: #E5EEF5;
scrollbar-track-color: #f0f0e0;
scrollbar-face-color: #CADBEB;
scrollbar-highlight-color: #f0f0e0;
scrollbar-3d-light-color: #CADBEB;
scrollbar-darkshadow-color: #CADBEB;
scrollbar-shadow-color: #CADBEB;
scrollbar-arrow-color: #ffffff;
line-height:100px;}
#container{ width:150px; height:35px;position: relative;
margin-left: 50%;
left:100px;
top: 100px }
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
</script>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td background="bg_kopf.jpg"><img src="bg_kopf.jpg" width="1" height="50"></td>
<td width="27" background="bg_kopf.jpg"> </td>
<td width="840" background="bg_kopf.jpg"> </td>
<td width="27" background="bg_kopf.jpg"> </td>
<td background="bg_kopf.jpg"> </td>
</tr>
<tr>
<td background="bg_kopf.jpg"> </td>
<td background="bg_kopf.jpg"> </td>
<td background="bg_kopf.jpg"> </td>
<td background="bg_kopf.jpg"> </td>
<td background="bg_kopf.jpg"> </td>
</tr>
<tr>
<td background="bg_kopf.jpg"> </td>
<td background="bg_kopf.jpg"> </td>
<td background="bg_kopf.jpg"> </td>
<td background="bg_kopf.jpg"> </td>
<td background="bg_kopf.jpg"> </td>
</tr>
<tr>
<td background="bg_kopf.jpg"> </td>
<td background="bg_kopf.jpg"> </td>
<td background="bg_kopf.jpg"> </td>
<td background="bg_kopf.jpg"> </td>
<td background="bg_kopf.jpg"> </td>
</tr>
<tr>
<td background="bg_kopf.jpg"> </td>
<td background="bg_kopf.jpg"> </td>
<td background="bg_kopf.jpg"> </td>
<td background="bg_kopf.jpg"> </td>
<td background="bg_kopf.jpg"> </td>
</tr>
<tr>
<td background="bg_kopf.jpg"> </td>
<td background="bg_kopf.jpg"> </td>
<td background="bg_kopf.jpg"> </td>
<td background="bg_kopf.jpg"> </td>
<td background="bg_kopf.jpg"> </td>
</tr>
<tr>
<td background="bg_kopf.jpg"> </td>
<td background="bg_kopf.jpg"> </td>
<td background="bg_kopf.jpg"> </td>
<td background="bg_kopf.jpg"> </td>
<td background="bg_kopf.jpg"> </td>
</tr>
<tr>
<td background="bg_kopf.jpg"> </td>
<td background="bg_kopf.jpg"> </td>
<td background="bg_kopf.jpg"> </td>
<td background="bg_kopf.jpg"> </td>
<td background="bg_kopf.jpg"> </td>
</tr>
<tr>
<td background="bg_kopf.jpg"> </td>
<td background="bg_kopf.jpg"> </td>
<td background="bg_kopf.jpg"> </td>
<td background="bg_kopf.jpg"> </td>
<td background="bg_kopf.jpg"> </td>
</tr>
<tr>
<td background="bg_kopf.jpg"> </td>
<td background="bg_kopf.jpg"> </td>
<td background="bg_kopf.jpg"> </td>
<td background="bg_kopf.jpg"> </td>
<td background="bg_kopf.jpg"> </td>
</tr>
<tr>
<td background="bg_kopf.jpg"> </td>
<td background="bg_kopf.jpg"> </td>
<td background="bg_kopf.jpg"> </td>
<td background="bg_kopf.jpg"> </td>
<td background="bg_kopf.jpg"> </td>
</tr>
<tr>
<td background="bg_kopf.jpg"> </td>
<td background="bg_kopf.jpg"> </td>
<td background="bg_kopf.jpg"> </td>
<td background="bg_kopf.jpg"> </td>
<td background="bg_kopf.jpg"> </td>
</tr>
<tr>
<td background="bg_kopf.jpg"> </td>
<td background="bg_kopf.jpg"> </td>
<td background="bg_kopf.jpg"> </td>
<td background="bg_kopf.jpg"> </td>
<td background="bg_kopf.jpg"> </td>
</tr>
</table>
<div margin:0px auto;
width:100px; height:200px;
border:1px solid red;
position:relative; right:100px;>
<div id="slideshow"> <img src="assets/images/header/worksPreviews/balate.png" width="345" height="250" alt="" />
<img src="assets/images/header/worksPreviews/etatdesieges.png" width="345" height="250" alt="" />
</div>
</div>
</body>
</html>