Autor Zpráva
loleklel
Profil *
nechapu validator ! ale asi sem blbej ja ;-) validator pise :

Line 46, column 132: end tag for element "A" which is not open

..." width=150 height=120 border="0"></a>'

The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem.

If this error occured in a script section of your document, you should probably read this FAQ entry.

stranka je to www.rammsteins.wz.cz/menu_prave.html
ronnie
Profil
Někde ukončuješ odkaz, ktery neni otevřený... na tom řádku ti chybí středník, takže to bude asi tím.
loleklel
Profil *
<script type="text/javascript">
var i=Math.round(Math.random()*45);
if (i==0) vloz='<a href="grafika/tipdne/01.jpg" target="_blank"><img src="grafika/tipdne/01.jpg" width=150 height=120 border="0"></a>';
if (i==1) vloz='<a href="grafika/tipdne/02.jpg" target="_blank"><img src="grafika/tipdne/02.jpg" width=150 height=120 border="0"></a>';
if (i==2) vloz='<a href="grafika/tipdne/03.jpg" target="_blank"><img src="grafika/tipdne/03.jpg" width=150 height=120 border="0"></a>';
if (i==3) vloz='<a href="grafika/tipdne/04.jpg" target="_blank"><img src="grafika/tipdne/04.jpg" width=150 height=120 border="0"></a>';
if (i==4) vloz='<a href="grafika/tipdne/05.jpg" target="_blank"><img src="grafika/tipdne/05.jpg" width=150 height=120 border="0"></a>';
if (i==5) vloz='<a href="grafika/tipdne/06.jpg" target="_blank"><img src="grafika/tipdne/06.jpg" width=150 height=120 border="0"></a>';
if (i==6) vloz='<a href="grafika/tipdne/07.jpg" target="_blank"><img src="grafika/tipdne/07.jpg" width=150 height=120 border="0"></a>';
if (i==7) vloz='<a href="grafika/tipdne/08.jpg" target="_blank"><img src="grafika/tipdne/08.jpg" width=150 height=120 border="0"></a>';
if (i==8) vloz='<a href="grafika/tipdne/09.jpg" target="_blank"><img src="grafika/tipdne/09.jpg" width=150 height=120 border="0"></a>';
if (i==9) vloz='<a href="grafika/tipdne/10.jpg" target="_blank"><img src="grafika/tipdne/10.jpg" width=150 height=120 border="0"></a>';
if (i==10) vloz='<a href="grafika/tipdne/11.jpg" target="_blank"><img src="grafika/tipdne/11.jpg" width=150 height=120 border="0"></a>';
if (i==11) vloz='<a href="grafika/tipdne/12.jpg" target="_blank"><img src="grafika/tipdne/12.jpg" width=150 height=120 border="0"></a>';
if (i==12) vloz='<a href="grafika/tipdne/13.jpg" target="_blank"><img src="grafika/tipdne/13.jpg" width=150 height=120 border="0"></a>';
if (i==13) vloz='<a href="grafika/tipdne/14.jpg" target="_blank"><img src="grafika/tipdne/14.jpg" width=150 height=120 border="0"></a>';
if (i==14) vloz='<a href="grafika/tipdne/15.jpg" target="_blank"><img src="grafika/tipdne/15.jpg" width=150 height=120 border="0"></a>';
if (i==15) vloz='<a href="grafika/tipdne/16.jpg" target="_blank"><img src="grafika/tipdne/16.jpg" width=150 height=120 border="0"></a>';
if (i==16) vloz='<a href="grafika/tipdne/17.jpg" target="_blank"><img src="grafika/tipdne/17.jpg" width=150 height=120 border="0"></a>';
if (i==17) vloz='<a href="grafika/tipdne/18.jpg" target="_blank"><img src="grafika/tipdne/18.jpg" width=150 height=120 border="0"></a>';
if (i==18) vloz='<a href="grafika/tipdne/19.jpg" target="_blank"><img src="grafika/tipdne/19.jpg" width=150 height=120 border="0"></a>';
if (i==19) vloz='<a href="grafika/tipdne/20.jpg" target="_blank"><img src="grafika/tipdne/20.jpg" width=150 height=120 border="0"></a>';
if (i==20) vloz='<a href="grafika/tipdne/21.jpg" target="_blank"><img src="grafika/tipdne/21.jpg" width=150 height=120 border="0"></a>';
if (i==21) vloz='<a href="grafika/tipdne/22.jpg" target="_blank"><img src="grafika/tipdne/22.jpg" width=150 height=120 border="0"></a>';
if (i==22) vloz='<a href="grafika/tipdne/23.jpg" target="_blank"><img src="grafika/tipdne/23.jpg" width=150 height=120 border="0"></a>';
if (i==23) vloz='<a href="grafika/tipdne/24.jpg" target="_blank"><img src="grafika/tipdne/24.jpg" width=150 height=120 border="0"></a>';
if (i==24) vloz='<a href="grafika/tipdne/25.jpg" target="_blank"><img src="grafika/tipdne/25.jpg" width=150 height=120 border="0"></a>';
if (i==25) vloz='<a href="grafika/tipdne/26.jpg" target="_blank"><img src="grafika/tipdne/26.jpg" width=150 height=120 border="0"></a>';

if (i==26) vloz='<a href="grafika/tipdne/27.jpg" target="_blank"><img src="grafika/tipdne/27.jpg" width=150 height=120 border="0"></a>';
if (i==27) vloz='<a href="grafika/tipdne/28.jpg" target="_blank"><img src="grafika/tipdne/28.jpg" width=150 height=120 border="0"></a>';
if (i==28) vloz='<a href="grafika/tipdne/29.jpg" target="_blank"><img src="grafika/tipdne/29.jpg" width=150 height=120 border="0"></a>';
if (i==29) vloz='<a href="grafika/tipdne/30.jpg" target="_blank"><img src="grafika/tipdne/30.jpg" width=150 height=120 border="0"></a>';
if (i==30) vloz='<a href="grafika/tipdne/31.jpg" target="_blank"><img src="grafika/tipdne/31.jpg" width=150 height=120 border="0"></a>';
if (i==31) vloz='<a href="grafika/tipdne/32.jpg" target="_blank"><img src="grafika/tipdne/32.jpg" width=150 height=120 border="0"></a>';
if (i==32) vloz='<a href="grafika/tipdne/33.jpg" target="_blank"><img src="grafika/tipdne/33.jpg" width=150 height=120 border="0"></a>';
if (i==33) vloz='<a href="grafika/tipdne/34.jpg" target="_blank"><img src="grafika/tipdne/34.jpg" width=150 height=120 border="0"></a>';
if (i==34) vloz='<a href="grafika/tipdne/35.jpg" target="_blank"><img src="grafika/tipdne/35.jpg" width=150 height=120 border="0"></a>';
if (i==35) vloz='<a href="grafika/tipdne/36.jpg" target="_blank"><img src="grafika/tipdne/36.jpg" width=150 height=120 border="0"></a>';
if (i==36) vloz='<a href="grafika/tipdne/37.jpg" target="_blank"><img src="grafika/tipdne/37.jpg" width=150 height=120 border="0"></a>';
if (i==37) vloz='<a href="grafika/tipdne/38.jpg" target="_blank"><img src="grafika/tipdne/38.jpg" width=150 height=120 border="0"></a>';
if (i==38) vloz='<a href="grafika/tipdne/39.jpg" target="_blank"><img src="grafika/tipdne/39.jpg" width=150 height=120 border="0"></a>';
if (i==39) vloz='<a href="grafika/tipdne/40.jpg" target="_blank"><img src="grafika/tipdne/40.jpg" width=150 height=120 border="0"></a>';
if (i==40) vloz='<a href="grafika/tipdne/41.jpg" target="_blank"><img src="grafika/tipdne/41.jpg" width=150 height=120 border="0"></a>';
if (i==41) vloz='<a href="grafika/tipdne/42.jpg" target="_blank"><img src="grafika/tipdne/42.jpg" width=150 height=120 border="0"></a>';
if (i==42) vloz='<a href="grafika/tipdne/43.jpg" target="_blank"><img src="grafika/tipdne/43.jpg" width=150 height=120 border="0"></a>';
if (i==43) vloz='<a href="grafika/tipdne/44.jpg" target="_blank"><img src="grafika/tipdne/44.jpg" width=150 height=120 border="0"></a>';
if (i==44) vloz='<a href="grafika/tipdne/45.jpg" target="_blank"><img src="grafika/tipdne/45.jpg" width=150 height=120 border="0"></a>';
</script>
<p align="center">
<SCRIPT type="text/javascript">
document.write(vloz);

</script>

tohle je ten kod nevim co je na tom spatne !
diky za odpovedi
ronnie
Profil
Podívej se na ten kód, máš tam


vloz='<a href="grafika/tipdne/01.jpg" target="_blank"><img src="grafika/tipdne/01.jpg" width=150 height=120 border="0">';</a>
if (i==1) vloz='<a href="grafika/tipdne/02.jpg" target="_blank"><img src="grafika/tipdne/02.jpg" width=150 height=120 border="0"></a>';
if (i==2) vloz='<a href="grafika/tipdne/03.jpg" target="_blank"><img src="grafika/tipdne/03.jpg" width=150 height=120 border="0"></a>';


Ten první řádek je špatně .. t=120 border="0">';</a>
loleklel
Profil *
nene nemam
Fred
Profil
1/Máš špatně ty první tři řádky v kódu toho scriptu na stránce, je to tam jinak.
2/Ten tag </a> by měl být vyescapovaný tzn. <\/a>
3/Ty scripty mají být uzavřeny v komentářích
4/Nemůžeš mít celý obsah body uzavřený v tagu font
5/ten kód je dost mizerný, přejmenuj obrázky 01.jpg až 09.jpg na 1.jpg až 9.jpg
6/ten font nastyluj v css u body
7/vymaž alink vlink atd v body
8/nevím co má být vlevo vrpavo apod. to si uprav sám.
8/Částečně upravený zdroják. Sorry, že to sem pástnu.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Rammstein menu-prave</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
<style type="text/css">
<!--
a{text-decoration:none;}
a:hover{text-decoration:underline;}
a:hover{color:#ffffff}
body{font:normal 0.8em Verdana;background:#000;color:#fff;}
-->
</style>
<script type="text/javascript">
<!--
function stat(txt){window.status = txt;setTimeout("erase()",2000);}
function erase(){window.status="";}
var i=Math.round(Math.random()*44)+1;
var x='<a href=\"grafika/tipdne/'
var y='.jpg\" target=\"_blank\"><img src=\"grafika/tipdne/'
var z='.jpg\" width=\"150\" height=\"120\" border=\"0\"><\/a>'
vloz=x+i+y+i+z;
// -->
</script>
</head>
<body>
<img src="grafika/menu/prave/anketa.gif" alt="">
<br>
<br>
<div align="center">
<iframe frameborder="0" scrolling="no" width="120" height="168" src="http://ankety.czweb.org/anketa_5.php?id_an=2467"></iframe>
</div>
<br>
<br>
<img src="grafika/menu/prave/statistika.gif" alt="">
<br>
<br>
<div align="center">
<a href="http://www.toplist.cz/" target="_top">
<img src="http://toplist.cz/count.asp?id=133509&amp;logo=mc" border="0" alt="toplist" width="88" height="60"/>
</a>
<div align=left>
<img src="grafika/menu/prave/obrazek.gif" alt="">
</div>
<p align="center">
<script type="text/javascript">
<!--
document.write(vloz);
// -->
</script>
<br>
<br>
<img src="grafika/menu/prave/oficialni.gif" alt="">
<br>
<br>
<a href="http://www.rammstein.com/">www.rammstein.com</a><br>
<a href="http://www.rammstein.de/">www.rammstein.com</a><br>
<a href="http://www.rammsteinshop.de/">www.rammsteinshop.de</a><br>
</div>
</body>
</html>
Toto téma je uzamčeno. Odpověď nelze zaslat.

0