Hallo bin neu hier im Forum und hab ein kleines problem bei der index erstellung. kenn mich nicht wirklich aus und versuche schon seit stunden meine vorlage in die mitte zu bekommen.
ich füg einfach mal meinen code ein, ich hoffe ihr sagt mir dann wo ich was machen muss oder einfügen muss damit alles automatisch in der mitte ist. danke im vorraus.
head>
<title>Unbenanntes Dokument</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<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.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}}
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a)&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers.document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
</head>
<body bgcolor="#FFFFFF" background="lvhp.jpg" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('../Buttons/news2.jpg','../Buttons/about2.jpg','../Buttons/wall2.jpg','../Buttons/con2.jpg','../Buttons/guest2.jpg','../Buttons/links2.jpg','buttons/homeroll2.jpg','buttons/about3.jpg','buttons/Links3.jpg','buttons/fun3.jpg','buttons/chat2.jpg','buttons/pix2.jpg','buttons/dunit2.jpg')">
<div align="center">
<table width="770" height="340" border="0,1" cellpadding="0" cellspacing="0">
<tr>
<tr>
<td width="770" height="320" nowrap ><IFrame name="inframe" frameborder="0" width="770" height="320" scrolling="yes" src="home.htm" style="filter:chroma(color=#FFAAFF)"></IFrame></td>
</tr>
<td height="20"><div align="left"><a href="home.html" target="inframe" onMouseOver="MM_swapImage('Image9','','buttons/home2.jpg',1)" onMouseOut="MM_swapImgRestore()"><img src="buttons/home.jpg" name="Image9" width="110" height="20" border="0"></a><a href="dunit.htm" target="inframe" onMouseOver="MM_swapImage('Image11','','buttons/home2.jpg',1)" onMouseOut="MM_swapImgRestore()"><img src="buttons/home.jpg" name="Image11" width="110" height="20" border="0"></a><a href="pixlinks.htm" target="inframe" onMouseOver="MM_swapImage('Image8','','buttons/home2.jpg',1)" onMouseOut="MM_swapImgRestore()"><img src="buttons/home.jpg" name="Image8" width="110" height="20" border="0"></a><img src="buttons/home.jpg" name="Image12" width="110" height="20" border="0"><a href="fun/funlinkz.htm" target="inframe" onMouseOver="MM_swapImage('Image10','','buttons/home2.jpg',1)" onMouseOut="MM_swapImgRestore()"><img src="buttons/home.jpg" name="Image10" width="110" height="20" border="0"></a><a href="Aboutme.htm" target="inframe" onMouseOver="MM_swapImage('Image15','','buttons/home2.jpg',1)" onMouseOut="MM_swapImgRestore()"><img src="buttons/home.jpg" name="Image15" width="110" height="20" border="0"></a><a href="chat.htm" target="inframe" onMouseOver="MM_swapImage('Image13','','buttons/home2.jpg',1)" onMouseOut="MM_swapImgRestore()"><img src="buttons/home.jpg" name="Image13" width="110" height="20" border="0"></a></div></td>
</table>
</div>
<center>
</center>
</body
ich befürchte das wenn ich das abschicke das er irgendwas anzeigt.
ich füg einfach mal meinen code ein, ich hoffe ihr sagt mir dann wo ich was machen muss oder einfügen muss damit alles automatisch in der mitte ist. danke im vorraus.
head>
<title>Unbenanntes Dokument</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<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.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}}
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a)&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers.document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
</head>
<body bgcolor="#FFFFFF" background="lvhp.jpg" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('../Buttons/news2.jpg','../Buttons/about2.jpg','../Buttons/wall2.jpg','../Buttons/con2.jpg','../Buttons/guest2.jpg','../Buttons/links2.jpg','buttons/homeroll2.jpg','buttons/about3.jpg','buttons/Links3.jpg','buttons/fun3.jpg','buttons/chat2.jpg','buttons/pix2.jpg','buttons/dunit2.jpg')">
<div align="center">
<table width="770" height="340" border="0,1" cellpadding="0" cellspacing="0">
<tr>
<tr>
<td width="770" height="320" nowrap ><IFrame name="inframe" frameborder="0" width="770" height="320" scrolling="yes" src="home.htm" style="filter:chroma(color=#FFAAFF)"></IFrame></td>
</tr>
<td height="20"><div align="left"><a href="home.html" target="inframe" onMouseOver="MM_swapImage('Image9','','buttons/home2.jpg',1)" onMouseOut="MM_swapImgRestore()"><img src="buttons/home.jpg" name="Image9" width="110" height="20" border="0"></a><a href="dunit.htm" target="inframe" onMouseOver="MM_swapImage('Image11','','buttons/home2.jpg',1)" onMouseOut="MM_swapImgRestore()"><img src="buttons/home.jpg" name="Image11" width="110" height="20" border="0"></a><a href="pixlinks.htm" target="inframe" onMouseOver="MM_swapImage('Image8','','buttons/home2.jpg',1)" onMouseOut="MM_swapImgRestore()"><img src="buttons/home.jpg" name="Image8" width="110" height="20" border="0"></a><img src="buttons/home.jpg" name="Image12" width="110" height="20" border="0"><a href="fun/funlinkz.htm" target="inframe" onMouseOver="MM_swapImage('Image10','','buttons/home2.jpg',1)" onMouseOut="MM_swapImgRestore()"><img src="buttons/home.jpg" name="Image10" width="110" height="20" border="0"></a><a href="Aboutme.htm" target="inframe" onMouseOver="MM_swapImage('Image15','','buttons/home2.jpg',1)" onMouseOut="MM_swapImgRestore()"><img src="buttons/home.jpg" name="Image15" width="110" height="20" border="0"></a><a href="chat.htm" target="inframe" onMouseOver="MM_swapImage('Image13','','buttons/home2.jpg',1)" onMouseOut="MM_swapImgRestore()"><img src="buttons/home.jpg" name="Image13" width="110" height="20" border="0"></a></div></td>
</table>
</div>
<center>
</center>
</body
ich befürchte das wenn ich das abschicke das er irgendwas anzeigt.