• Jetzt anmelden. Es dauert nur 2 Minuten und ist kostenlos!

problem mit layout

Status
Für weitere Antworten geschlossen.

nüppl

Neues Mitglied
wie gesagt hab ich ein problem mit meinem layout.
vielleicht ist es ganz einfach aber da ich ein anfänger in sowas bin weiß ich nicht wie ich so hinkriege wie es sein soll.
der ganze inhalt ist links, obwohl er eigentlich in dem schwarzen raum sein sollte.
und ich hab einfach keine ahnung wie ich das einstell, oder was für einen fehler ich gemacht hab.
wie gesagt ich bin anfänger (:
hier mal mein code..
und hier die seite
http://www.myblog.de/potta

Code:
<script language="JavaScript1.2">
function disableselect(e){
return false
}
function reEnable(){
return true
}
document.onselectstart=new Function ("return false")
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
</script></br>




<script language=JavaScript>
var message="";
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if 
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers) 
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
</script></br>



<html>


       <html>


<TITLE></TITLE>

  <body background=http://www.directupload.net/images/050521/TcVlIrUg.jpg bgproperties="fixed">

<STYLE type=text/css>BODY {
	SCROLLBAR-FACE-COLOR: #000000;
	SCROLLBAR-HIGHLIGHT-COLOR: #FF1493;
	SCROLLBAR-SHADOW-COLOR: #FF1493;
	SCROLLBAR-3DLIGHT-COLOR: #FF1493;
	SCROLLBAR-ARROW-COLOR: #FF1493;
	SCROLLBAR-TRACK-COLOR: #FF1493;
	SCROLLBAR-DARKSHADOW-COLOR: #FF1493;
	
	
{font-family: verdana;
text-transform:verdana;
color: #FF1493;
line-height:11px;
letter-spacing:0px;
text-align:left;
font-size: 8pt;}
A:link {
	CURSOR: crosshair; COLOR: #FF1493; TEXT-DECORATION: none
}
A:visited {
	CURSOR: crosshair; COLOR: #FF1493; TEXT-DECORATION: none
}
A:active {
	CURSOR: crosshair; COLOR: #FF1493; TEXT-DECORATION: none
}
A:hover {
	CURSOR: crosshair; COLOR: #FF1493; filter: blur(add=1, direction=90, strength=40) width: 100%; height: 0;
}
</STYLE>

<STYLE type=text/css>BODY {
	CURSOR: crosshair
}
</STYLE>



<DIV id=oO° Navigation °Oo
style="border:1px dotted #000000; padding:5px; LEFT: 852; WIDTH: 117; POSITION: absolute; TOP: 55; HEIGHT: 483"><center>
   

 </p>
  

 </p>
  


  <FONT face="verdana" color=#FFFFFF style="font-size: 12pt; font-weight:700"></font><font color="#FFFFFF">


  

  
<style type="text/css">
<!--a:link {text-decoration: underline; text-decoration: underline;    
 }
a:visited {color:#FF1493; text-decoration: underline;    
}a:active {color:#FF1493; text-decoration:none text-decoration: underline;    
}
a:hover {text-decoration: line-through; 
border: 1dotted  #FF1493; ; -->
</style>

[img]http://www.directupload.net/images/050521/8j48lFBB.jpg[/img]</br>

<a href="potta">
  <font color="#FF1493">Anfang</font></a> 

 <a href="gbook.php?blog=potta">
  <font color="#FF1493">Book</font></a> 

   <a href="showarchiv.php?blog=potta">
  <font color="#FF1493">Archiv</font></a> 

 

[url="http://www.imood.com/users/littLeDevon"][img]http://moods.imood.com/display/uname=littLeDevon/fg=FFFFFF/trans=1/imood.gif[/img][/url]</br>



[img]http://www.directupload.net/images/050521/6hOQu4K9.jpg[/img]</br>

[img]http://www.directupload.net/images/050521/a2zBCxxu.gif[/img]

[img]http://www.directupload.net/images/050521/8uW378mx.jpg[/img]

</font>

</p>
  

 </p>
  

 </p>
 </font></a></font></p>
</center>
</DIV>


<div class="inhalt">:CONTENT_HIER:
:POWEREDBY_HIER:</div>
 
Werbung:
Ist das der ganze Code?

  • Du machst zweimal <html> auf!
  • Was soll das vor <html>???

Daraus schliess ich, dass du die Seite nicht selber geschrieben hast... Mach mal die Fehler weg und dann sehen wir weiter :!:

Edit
Du hast den Quellcode schon selber geschrieben, dieser wurde aber in eine vorgefertigte Seite eingefügt.
 
'Du hast den Quellcode schon selber geschrieben, dieser wurde aber in eine vorgefertigte Seite eingefügt.'
hä? ^^

also, ich hab das nich wirklich selber gemacht. eine freundin hat mir den code gemacht, ich hab nur die farben verändert,ein anderes hintergrundbild eingesetzt und die mauseffekte verändert. sonst hab ich nix dran verändert.
das über dem html sind codes für kopierschutz und rechtsklicksperre.
wenn ich das "<DIV id=oO° Navigation °Oo" rausnehm verschibet sich die navi neben das bild links..
 
Werbung:
Aber das div-ding ergibt keinen Sinn.

Das mit der vorgefertigten Seite vergiss du mal... Es geht darum, dass deine Seite mit <html> beginnt, dann kommt der CSS, metatag-Teil (also <head>) Dann beginnst du noch einmal mit <html> und dann noch einmal mit <html>! Das kann nicht gehen!

Im Validator findet man ganze 31 Fehler im Quelltext. Sei nur froh dass das dein Browser trotzdem richtig anzeigt!
 
und krieg ich das jetz garnich mehr richtig?
naja.. ich sollte endlich lernen wie mans alleine hinkriegt
 
Werbung:
Werbung:
Falsch! Der ganze Code ist:

Code:
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title> - Weblog @ myblog.de</title>
<meta name="description" content=", myBLOG.de - dein kostenloses Weblog. bloggen, weblog, free, blog, kostenlos">
<meta name="robots" content="INDEX,FOLLOW">
<meta http-equiv="content-language" content="de">
<meta name="keywords" content="Weblog, Blog, Tagebuch, Internet, Internet-Tagebuch, Internet Tagebuch, Log, Website, Homepage, Speicherplatz, kostenlos, free, umsonst, Besucher, Leser, Traffic, ver&ouml;ffentlichen, Lyrik, Prosa, Eintrag, myblog, myblog.de">
<meta name="audience" content="Alle">
<meta name="page-topic" content="Medien">
<link rel="alternate" type="application/rss+xml" title="RSS" href="http://myblog.de/rss.php?blog=potta" />
<meta name="revisit-after" content="2 days">
 
<script language="JavaScript1.2"> 
function disableselect(e){ 
return false 
} 
function reEnable(){ 
return true 
} 
document.onselectstart=new Function ("return false") 
if (window.sidebar){ 
document.onmousedown=disableselect 
document.onclick=reEnable 
} 
</script></br> 




 
<script language=JavaScript> 
var message=""; 
function clickIE() {if (document.all) {(message);return false;}} 
function clickNS(e) {if 
(document.layers||(document.getElementById&&!document.all)) { 
if (e.which==2||e.which==3) {(message);return false;}}} 
if (document.layers) 
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;} 
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;} 
</script></br> 



<html> 


       <html> 


<TITLE></TITLE> 

  <body background=http://www.directupload.net/images/050521/TcVlIrUg.jpg bgproperties="fixed"> 

<STYLE type=text/css>BODY { 
   SCROLLBAR-FACE-COLOR: #000000; 
   SCROLLBAR-HIGHLIGHT-COLOR: #FF1493; 
   SCROLLBAR-SHADOW-COLOR: #FF1493; 
   SCROLLBAR-3DLIGHT-COLOR: #FF1493; 
   SCROLLBAR-ARROW-COLOR: #FF1493; 
   SCROLLBAR-TRACK-COLOR: #FF1493; 
   SCROLLBAR-DARKSHADOW-COLOR: #FF1493; 
    
    
{font-family: verdana; 
text-transform:verdana; 
color: #FF1493; 
line-height:11px; 
letter-spacing:0px; 
text-align:left; 
font-size: 8pt;} 
A:link { 
   CURSOR: crosshair; COLOR: #FF1493; TEXT-DECORATION: none 
} 
A:visited { 
   CURSOR: crosshair; COLOR: #FF1493; TEXT-DECORATION: none 
} 
A:active { 
   CURSOR: crosshair; COLOR: #FF1493; TEXT-DECORATION: none 
} 
A:hover { 
   CURSOR: crosshair; COLOR: #FF1493; filter: blur(add=1, direction=90, strength=40) width: 100%; height: 0; 
} 
</STYLE> 

<STYLE type=text/css>BODY { 
   CURSOR: crosshair 
} 
</STYLE> 



<DIV id=oO° Navigation °Oo 
style="border:1px dotted #000000; padding:5px; LEFT: 852; WIDTH: 117; POSITION: absolute; TOP: 55; HEIGHT: 483"><center> 
   

 </p> 
  

 </p> 
  

 
  <FONT face="verdana" color=#FFFFFF style="font-size: 12pt; font-weight:700"></font><font color="#FFFFFF">

 
  
 
  

<style type="text/css"> 
<!--a:link {text-decoration: underline; text-decoration: underline;    
 } 
a:visited {color:#FF1493; text-decoration: underline;    
}a:active {color:#FF1493; text-decoration:none text-decoration: underline;    
} 
a:hover {text-decoration: line-through; 
border: 1dotted  #FF1493; ; --> 
</style> 

[img]http://www.directupload.net/images/050521/8j48lFBB.jpg[/img]</br> 

<a href="potta"> 
  <font color="#FF1493">Anfang</font></a> 
 
 <a href="gbook.php?blog=potta"> 
  <font color="#FF1493">Book</font></a> 
 
   <a href="showarchiv.php?blog=potta"> 
  <font color="#FF1493">Archiv</font></a> 
 
  

[url="http://www.imood.com/users/littLeDevon"][img]http://moods.imood.com/display/uname=littLeDevon/fg=FFFFFF/trans=1/imood.gif[/img][/url]</br> 



[img]http://www.directupload.net/images/050521/6hOQu4K9.jpg[/img]</br> 


[img]http://www.directupload.net/images/050521/a2zBCxxu.gif[/img] 

[img]http://www.directupload.net/images/050521/8uW378mx.jpg[/img] 

</font> 

</p> 
  

 </p> 
  

 </p> 
 </font></a></font></p> 
</center> 
</DIV> 


<div class="inhalt">

</p><center><font face="Arial, Verdana, Tahoma" size="2" color="#FF0099">keine Eintr&auml;ge vorhanden. 
<table border=0 cellspacing=3 cellpadding=3><tr><td>
<script language='JavaScript' type='text/javascript'>
if  (!document.phpAds_used) 
	document.phpAds_used = ',';   
phpAds_random = new String (Math.random()); 
phpAds_random = phpAds_random.substring(2,11); 
document.write ("<" + "script language='JavaScript' type='text/javascript' src='");   
document.write ("http://adserv.20six.net/ads2/adjs.php?n=" + phpAds_random); 
document.write ("&amp;what=zone:3"); 
document.write ("&amp;exclude=" + document.phpAds_used);   
if (document.referer)    
	document.write ("&amp;referer=" + escape(document.referer)); 
document.write ("'><" + "/script>");
</script>
</td><td>

<script language='JavaScript' type='text/javascript'>
if  (!document.phpAds_used) 
	document.phpAds_used = ',';   
phpAds_random = new String (Math.random()); 
phpAds_random = phpAds_random.substring(2,11); 
document.write ("<" + "script language='JavaScript' type='text/javascript' src='");   
document.write ("http://adserv.20six.net/ads2/adjs.php?n=" + phpAds_random); 
document.write ("&amp;what=zone:2"); 
document.write ("&amp;exclude=" + document.phpAds_used);   
if (document.referer)    
	document.write ("&amp;referer=" + escape(document.referer)); 
document.write ("'><" + "/script>");
</script>
</td></tr></table>
</div>

Eine vollkommene Katastrophe!!! Wenn ich da anschaue, wie wenig auf der Seite ist, und den Quellcode ansehe dann... naja
 
weisst du überhaupt wie html aufgebaut ist?
hier das grundgerüst:
Code:
<html>
	<head>
	</head>
	<body>
	</body>
</html>
wobei in den head-teil die anweisungen und in den body-teil die "eigentliche seite selber" kommt!

mfg, fätzminator
 
Werbung:
ja also ich würde ihn ja auch neu schreiben, aber wahrscheinlich würde ich auch garnich hier fragen wenn ich das können würde. <<
und übrigens war das oben der ganze code. ^^
wär ja nen bisschen blöde von mir wenn ich hilfe brauch und euch dann nur nen teil von meinem code geb..
 
Werbung:
naja also ich habs mal probiert aber das mit dem javascript, da könnnt ich dann nich mehr 1. war das so krank dass ich nicht mehr arbeiten konnte und 2. bin ich halb vom stuhl gefallen vor lachen...
aber mal abgesehen von dem JavaScript am ende ist alles richtig
Code:
<html>
<head>
<STYLE type=text/css>BODY {
   SCROLLBAR-FACE-COLOR: #000000;
   SCROLLBAR-HIGHLIGHT-COLOR: #FF1493;
   SCROLLBAR-SHADOW-COLOR: #FF1493;
   SCROLLBAR-3DLIGHT-COLOR: #FF1493;
   SCROLLBAR-ARROW-COLOR: #FF1493;
   SCROLLBAR-TRACK-COLOR: #FF1493;
   SCROLLBAR-DARKSHADOW-COLOR: #FF1493;
   background-image:url(http://www.directupload.net/images/050521/TcVlIrUg.jpg);
   CURSOR: crosshair
   font-family: verdana;
   text-transform:verdana;
   color: #FF1493;
   line-height:11px;
   letter-spacing:0px;
   text-align:left;
   font-size: 8pt;
}
A:link {
   CURSOR: crosshair; COLOR: #FF1493; TEXT-DECORATION: none
}
A:visited {
   CURSOR: crosshair; COLOR: #FF1493; TEXT-DECORATION: none
}
A:active {
   CURSOR: crosshair; COLOR: #FF1493; TEXT-DECORATION: none
}
A:hover {
   CURSOR: crosshair; COLOR: #FF1493; filter: blur(add=1, direction=90, strength=40) width: 100%; height: 0;
}
</STYLE>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title> - Weblog @ myblog.de</title>
<meta name="description" content=", myBLOG.de - dein kostenloses Weblog. bloggen, weblog, free, blog, kostenlos">
<meta name="robots" content="INDEX,FOLLOW">
<meta http-equiv="content-language" content="de">
<meta name="keywords" content="Weblog, Blog, Tagebuch, Internet, Internet-Tagebuch, Internet Tagebuch, Log, Website, Homepage, Speicherplatz, kostenlos, free, umsonst, Besucher, Leser, Traffic, ver&ouml;ffentlichen, Lyrik, Prosa, Eintrag, myblog, myblog.de">
<meta name="audience" content="Alle">
<meta name="page-topic" content="Medien">
<link rel="alternate" type="application/rss+xml" title="RSS" href="http://myblog.de/rss.php?blog=potta" />
<meta name="revisit-after" content="2 days">

<script language="JavaScript1.2">
function disableselect(e){
return false
}
function reEnable(){
return true
}
document.onselectstart=new Function ("return false")
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
</script>
<script language=JavaScript>
var message="";
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
</script>
<body bgproperties="fixed">
<DIV style="border:1px dotted #000000; padding:5px; LEFT: 852; WIDTH: 117; POSITION: absolute; TOP: 55; HEIGHT: 483"><center>
















[img]http://www.directupload.net/images/050521/8j48lFBB.jpg[/img]
</br>
[url="potta"]Anfang[/url]

[url="gbook.php?blog=potta"]Book[/url]

[url="showarchiv.php?blog=potta"]Archiv[/url] 

[url="http://www.imood.com/users/littLeDevon"][img]http://moods.imood.com/display/uname=littLeDevon/fg=FFFFFF/trans=1/imood.gif[/img][/url]</br>
[img]http://www.directupload.net/images/050521/6hOQu4K9.jpg[/img]</br>
[img]http://www.directupload.net/images/050521/a2zBCxxu.gif[/img]
[img]http://www.directupload.net/images/050521/8uW378mx.jpg[/img]
</center>
</DIV>
<div class="inhalt">
<center>
keine Eintr&auml;ge vorhanden.
<table border=0 cellspacing=3 cellpadding=3><tr><td>
<script language='JavaScript' type='text/javascript'>
if  (!document.phpAds_used)
   document.phpAds_used = ',';
phpAds_random = new String (Math.random());
phpAds_random = phpAds_random.substring(2,11);
document.write ("<" + "script language='JavaScript' type='text/javascript' src='");
document.write ("http://adserv.20six.net/ads2/adjs.php?n=" + phpAds_random);
document.write ("&amp;what=zone:3");
document.write ("&amp;exclude=" + document.phpAds_used);
if (document.referer)
   document.write ("&amp;referer=" + escape(document.referer));
document.write ("'><" + "/script>");
</script>
</td><td>
<script language='JavaScript' type='text/javascript'>
if  (!document.phpAds_used)
   document.phpAds_used = ',';
phpAds_random = new String (Math.random());
phpAds_random = phpAds_random.substring(2,11);
document.write ("<" + "script language='JavaScript' type='text/javascript' src='");
document.write ("http://adserv.20six.net/ads2/adjs.php?n=" + phpAds_random);
document.write ("&amp;what=zone:2");
document.write ("&amp;exclude=" + document.phpAds_used);
if (document.referer)
   document.write ("&amp;referer=" + escape(document.referer));
document.write ("'><" + "/script>");
</script>
</td></tr></table>
</div>
</body>
</html>
 
Status
Für weitere Antworten geschlossen.
Zurück
Oben