Hej derude.
Jeg har problemer med at få min html kode i orden, jeg er lidt
skod til det.
Jeg beklager den lange kode nedenunder, det skal forhåbentlig
ikke ske igen. Jeg kan ikke bruge svaret at jeg skal validere min
kode til noget, så lad være med at sige det. Er der nogle fejl i
koden, i såfald hvilke.
Koden:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
<html>
<head>
<title>Velkommen til Dvdoo</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
</head>
<body>
<!-- adcode is located in new topbar -->
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<!--
rnd.today=new Date();
rnd.seed=rnd.today.getTime();
function rnd() {
rnd.seed = (rnd.seed*9301+49297) % 233280;
return rnd.seed/(233280.0);
};
function rand(number) {
return Math.ceil(rnd()*number);
};
// end central randomizer.
function chBanner() {
document.banner.src = "images/top" + rand(9) + ".jpg";
}
function chText(curobj)
{
for (var i=1; i<14; i++)
{
if (document.getElementById(i + "_span"))
{
tmpfolder = document.getElementById(i + "_span");
if(curobj + "_span" == i + "_span")
{
tmpfolder.style.display = "";
}
else
{
tmpfolder.style.display = "none";
}
}
}
}
//-->
</SCRIPT>
<script language="JavaScript">
function open_webtv(link)
{
window.open("choose_speed.phtml?link=" +
link,"WEBTV","width=300,height=100");
return true;
}
function popcorn(link)
{
nw=open(link,"D","toolbar=no,directories=no,menubar=no,scrollba
rs=auto,status=no,resizable=1,width=720,height=470");
}
</script>
<!-- LOOK ALIKE POPUP START -->
<script language="JavaScript">
function lookalike(id)
{
window.open("lookalike_popup.phtml?show_id=" + id +
"","lookalike","width=385,height=580,scrollbars=yes");
}
function lookalikecomments(id)
{
window.open("lookalike_comments.phtml?show_id=" + id +
"","lookalike","width=385,height=580,scrollbars=yes");
}
</script>
<!-- LOOK ALIKE POPUP END -->
<!-- BUTIKSPYNT POPUP START -->
<script language="JavaScript">
function butikspynt(id)
{
window.open("butikspynt_popup.phtml?show_id=" + id +
"","butikspynt","width=385,height=580,scrollbars=yes");
}
function lookalikecomments(id)
{
window.open("lookalike_comments.phtml?show_id=" + id +
"","lookalike","width=385,height=580,scrollbars=yes");
}
</script>
<!-- BUTIKSPYNT POPUP END -->
<!-- TETRIS START -->
<script language="JavaScript">
function tetris()
{
window.open("tetris/game.html","tetris","width=300,height=473,s
crollbars=no");
}
function catchgame()
{
window.open("catch/robinson.html","catchgame","width=500,height
=372,scrollbars=no");
}
</script>
</script>
<!-- TETRIS END -->
<style type="text/css">
<!--
{
background-attachment: fixed;
font-family: verdana, helvetica, sans-serif;
font-size: 10px;
margin: 10 15 10 15;
scrollbar-arrow-color: #000000;
scrollbar-base-color: #000000;
scrollbar-dark-shadow-color: #CCCCCC;
scrollbar-face-color: #DDDDDD;
scrollbar-highlight-color: #FFFFFF;
scrollbar-shadow-color: #AAAAAA;
}
/* GENERAL LINK */
a:link
{
font-size: 9px;
font-weight: bold;
text-decoration: none;
color: #000000;
}
a:active
{
font-size: 9px;
font-weight: bold;
text-decoration: none;
color: #000000;
}
a:visited
{
font-size: 9px;
font-weight: bold;
text-decoration: none;
color: #000000;
}
a:hover
{
font-size: 9px;
font-weight: bold;
text-decoration: underline;
color: darkred;
}
/* WHITE GENERAL LINK */
a.white:link
{
font-size: 9px;
font-weight: bold;
text-decoration: none;
color: #FFFFFF;
}
a.white:active
{
font-size: 9px;
font-weight: bold;
text-decoration: none;
color: #FFFFFF;
}
a.white:visited
{
font-size: 9px;
font-weight: bold;
text-decoration: none;
color: #FFFFFF;
}
a.white:hover
{
font-size: 9px;
font-weight: bold;
text-decoration: underline;
color: #FEBE11;
}
/* NAV LINK */
a.nav:link
{
font-size: 9px;
font-weight: bold;
text-decoration: none;
color: #FFFFFF;
text-transform: uppercase;
}
a.nav:active
{
font-size: 9px;
font-weight: bold;
text-decoration: none;
color: #FFFFFF;
text-transform: uppercase;
}
a.nav:visited
{
font-size: 9px;
font-weight: bold;
text-decoration: none;
color: #FFFFFF;
text-transform: uppercase;
}
a.nav:hover
{
font-size: 9px;
font-weight: bold;
text-decoration: underline;
color: #FEBD11;
text-transform: uppercase;
}
/* BUTTON LINK */
a.btn:link
{
width: 40px;
background-image: url("images/bg_btn.gif");
height: 17px;
border-width: 1px;
border-style: solid;
border-color: #000000;
padding-top: 1px;
padding-left: 14px;
padding-right: 6px;
font-size: 9px;
font-weight: bold;
text-decoration: none;
text-transform: uppercase;
color: #FFFFFF;
}
a.btn:active
{
width: 40px;
background-image: url("images/bg_btn.gif");
height: 17px;
border-width: 1px;
border-style: solid;
border-color: #000000;
padding-top: 1px;
padding-left: 14px;
padding-right: 6px;
font-size: 9px;
font-weight: bold;
text-decoration: none;
text-transform: uppercase;
color: #FFFFFF;
}
a.btn:visited
{
width: 40px;
background-image: url("images/bg_btn.gif");
height: 17px;
border-width: 1px;
border-style: solid;
border-color: #000000;
padding-top: 1px;
padding-left: 14px;
padding-right: 6px;
font-size: 9px;
font-weight: bold;
text-decoration: none;
text-transform: uppercase;
color: #FFFFFF;
}
a.btn:hover
{
width: 40px;
background-image: url("images/bg_btn_on.gif");
height: 17px;
border-width: 1px;
border-style: solid;
border-color: #000000;
padding-top: 1px;
padding-left: 14px;
padding-right: 6px;
font-size: 9px;
font-weight: bold;
text-decoration: none;
text-transform: uppercase;
color: #FFFFFF;
}
/* BORDER LINK */
a.border:link
{
background-image: url("images/bg_border.gif");
height: 17px;
border-width: 1px;
border-style: solid;
border-color: #FF9C67;
padding-top: 1px;
padding-left: 6px;
padding-right: 6px;
font-size: 10px;
font-weight: bold;
text-decoration: none;
color: #000000;
}
a.border:active
{
background-image: url("images/bg_border.gif");
height: 17px;
border-width: 1px;
border-style: solid;
border-color: #FF9C67;
padding-top: 1px;
padding-left: 6px;
padding-right: 6px;
font-size: 10px;
font-weight: bold;
text-decoration: none;
color: #000000;
}
a.border:visited
{
background-image: url("images/bg_border.gif");
height: 17px;
border-width: 1px;
border-style: solid;
border-color: #FF9C67;
padding-top: 1px;
padding-left: 6px;
padding-right: 6px;
font-size: 10px;
font-weight: bold;
text-decoration: none;
color: #000000;
}
a.border:hover
{
background-image: url("images/bg_border.gif");
height: 17px;
border-width: 1px;
border-style: solid;
border-color: #000000;
padding-top: 1px;
padding-left: 6px;
padding-right: 6px;
font-size: 10px;
font-weight: bold;
text-decoration: none;
color: #000000;
}
/* SPECIAL CLASSES */
.textfield
{
font-family: verdana, helvetica, sans-serif;
font-size: 9px;
color: #000000;
background-color: #FEBE11;
border: 1px solid;
border-color: #F14407 #FEDB7A #FEDB7A rgb(241,68,7);
}
.textfieldwhite
{
font-family: verdana, helvetica, sans-serif;
font-size: 9px;
color: #000000;
background-color: #FFFFFF;
border: 1px solid;
border-color: #444444 #CCCCCC #CCCCCC rgb(68,68,68);
}
input.button
{
border-width: 1px;
border-style: solid;
border-color: #000000;
font-family: Verdana;
font-size: 9px;
font-weight: bold;
text-decoration: none;
background-color: #303030;
color: #FFFFFF;
}
img
{
border-color: #000000;
}
/* TEXT CLASSES */
p, div, td
{
color: #000000;
font-family: verdana, helvetica, sans-serif;
font-size: 9px;
font-style: normal;
}
.txt9
{
color: #000000;
font-family: verdana, helvetica, sans-serif;
font-size: 9px;
font-style: bold;
}
.txt10black
{
color: #000000;
font-family: verdana, helvetica, sans-serif;
font-size: 10px;
font-style: normal;
}
.txt10blackbold
{
color: #000000;
font-family: verdana, helvetica, sans-serif;
font-size: 10px;
font-weight: bold;
}
.txt10white
{
color: #FFFFFF;
font-family: verdana, helvetica, sans-serif;
font-size: 10px;
font-style: normal;
}
.ingress
{
font-family: verdana, helvetica, sans-serif;
color: #444444;
font-weight: bold;
font-size: 9px;
}
.redvote
{
font-family: verdana, helvetica, sans-serif;
color: #FF0000;
font-weight: bold;
font-size: 10px;
}
.head
{
font-family: verdana, helvetica, sans-serif;
color: #000000;
font-size: 10px;
font-weight: bold;
text-transform: uppercase;
}
.smallhead
{
font-family: verdana, helvetica, sans-serif;
color: #000000;
font-size: 9px;
font-weight: bold;
}
.txt
{
color: #000000;
font-family: verdana, helvetica, sans-serif;
font-size: 10px;
font-weight: normal;
}
.date
{
color: #000000;
font-family: georgia,verdana, helvetica, sans-serif;
font-size: 10px;
font-weight: normal;
}
-->
</style><!-- <link rel="stylesheet" type="text/css"
href="css/ie.css"> -->
<!--
<bgcolor="#FFFFFF" bgproperties="fixed"
background="images/back_random2.jpg" marginheight="0"
marginwidth="0" leftmargin="0" topmargin="0" onload="chText(1)">
-->
<bgproperties="fixed" bgcolor="#FFFFFF" text="#000000"
link="#000000" alink="#000000" vlink="#000000">
<div align="center">
<table width="*" border="0" cellpadding="1" cellspacing="0"
bgcolor="#FFFFFF">
<tr>
<td><table width="*" height="100% border="0" cellpadding="0"
cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td nowrap>
</tr>
</table></td>
</tr>
<tr>
<td height="1" bgcolor="#FFFFFF"><img src="images/p.gif"
width="1" height="1"></td>
</tr>
<tr>
<td height="1" bgcolor="#FFFFFF"><img src="images/p.gif"
width="1" height="1"></td>
</tr>
</table>
<!-- HEADER END -->
<!-- CONTENT START -->
<table border="0"><tr><td width="20"><img src="images/p.gif"
width="20" height="1"></td><td>
<!-- *********************** Content START
************************* -->
</div><br><table border="0" cellspacing="0"
cellpadding="0"><tr><td valign="top" align="left"><div
class="txt10black"></div><br></td></tr></table></td></tr></table>
<br><table width="550" border="0" cellpadding="1" cellspacing="0"
bgcolor="#FFFFFF">
<tr>
<td><table width="100%" border="0" cellpadding="1"
cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td><table width="100%" border="0" cellpadding="10"
cellspacing="0" bgcolor="#EFEFEF">
<tr>
<td><table width="100%" border="0" cellpadding="1"
cellspacing="0"><tr><td width="10" align=left valign=top><img
src="mini_arrow.gif" width="7" height="11" border="0" hspace="0"
vspace="1"></a></td><td width="415" align=left valign=top><a
href="
http://www.dvdoo.subnet.dk/Login.html" class="org"><font
size="2">Login</font></a></td><td width="100" align=right
valign=top><div class="date">23/10 12:00</div></td></tr><tr><td
colspan="3" valign="top"><img src="bevelline.gif" width="525"
height="2"></td></tr><tr><td width="10" align=left
valign=top><img src="mini_arrow.gif" width="7" height="11"
border="0" hspace="0" vspace="1"></a></td><td width="415"
align=left valign=top><a
href="
http://www.dvdoo.subnet.dk/Topmenu.html" class="org"><font
size="2">Topmenu</font></a></td><td width="100" align=right
valign=top><div class="date">10/11 12:30</div></td></tr><tr><td
colspan="3" valign="top"><img src="bevelline.gif" width="525"
height="2"></td></tr><tr><td width="10" align=left
valign=top><img src="mini_arrow.gif" wi dth="7" height="11"
border="0" hspace="0" vspace="1"></a></td><td width="415"
align=left valign=top><a
href="
http://www.dvdoo.subnet.dk/soermaskine.html"
class="org"><font size="2">Søgemaskine</font></a></td><td
width="100" align=right valign=top><div class="date">13/11
13:15</div></td></tr><tr><td colspan="3" valign="top"><img
src="bevelline.gif" width="525" height="2"></td></tr><tr><td
width="10" align=left valign=top><img src="mini_arrow.gif"
width="7" height="11" border="0" hspace="0"
vspace="1"></a></td><td width="415" align=left valign=top><a
href="
http://www.dvdoo.subnet.dk/Navigations menu.html"
class="org"><font size="2">Hoved & navigations
menu</font></a></td><td width="100" align=right valign=top><div
class="date">22/11 11:04</div></td></tr><tr><td colspan="3"
valign="top"><img src="bevelline.gif" width="525"
height="2"></td></tr><tr><td width="10" align=left
valign=top><img src="mini_arrow.gif" width="7" height="11"
border="0" hspace="0" vspace="1"></a></td><td width="415"
align=left valign=top> <a
href="
http://www.dvdoo.subnet.dk/frames.html" class="org"><font
size="2">Frames</font></a></td><td width="100" align=right
valign=top><div class="date">23/12 17:45</div></td></tr><tr><td
colspan="3" valign="top"><img src="bevelline.gif" width="525"
height="2"></td></tr><tr><td width="10" align=left
valign=top><img src="mini_arrow.gif" width="7" height="11"
border="0" hspace="0" vspace="1"></a></td><td width="415"
align=left valign=top><a
href="
http://www.dvdoo.subnet.dk/forside2.html" class="org"><font
size="2">Forside</font></a></td><td width="100" align=right
valign=top><div class="date">24/12 11:41</div></td></tr><tr><td
colspan="3" valign="top"><img src="bevelline.gif" width="525"
height="2"></td></tr><tr><td width="10" align=left
valign=top><img src="mini_arrow.gif" width="7" height="11"
border="0" hspace="0" vspace="1"></a></td><td width="415"
align=left valign=top><a href="biler2.html" class="org"><font
size="2">Biler</font></a></td><td width="100" align=right
valign=top><div class="date">24/12
11 :43</div></td></tr><tr><td colspan="3" valign="top"><img
src="bevelline.gif" width="525" height="2"></td></tr><tr><td
width="10" align=left valign=top><img src="mini_arrow.gif"
width="7" height="11" border="0" hspace="0"
vspace="1"></a></td><td width="415" align=left valign=top><a
href="
http://www.dvdoo.subnet.dk" class="org"><font
size="2"></font></a></td><td width="100" align=right
valign=top><div class="date"></div></td></tr><tr><td colspan="3"
valign="top"><img src="bevelline.gif" width="525"
height="2"></td></tr><tr><td width="10" align=left
valign=top><img src="mini_arrow.gif" width="7" height="11"
border="0" hspace="0" vspace="1"></a></td><td width="415"
align=left valign=top><a
href="/index.phtml?start=0&action=news&news_id=738"
class="org"><font size="2"></font></a></td><td width="100"
align=right valign=top><div class="date"></div></td></tr><tr><td
colspan="3" valign="top"><img src="bevelline.gif" width="525"
height="2"></td></tr><tr><td width="10" align=left
valign=top><img src="mini_arrow.gif" w idth=7"height="11"
border="0" hspace="0" vspace="1"></a></td><td width="415"
align=left valign=top><a
href="/index.phtml?start=0&action=news&news_id=737"
class="org"><font size="2"></font></a></td><td width="100"
align=right valign=top><div class="date"></div></td></tr><tr><td
colspan="3" valign="top"><img src="bevelline.gif" width="525"
height="2"></td></tr></table><br><table width="300" border="0"
cellspacing="0" cellpadding="0"><tr><td width='50%'
align='center'>
</td><td width='50%' align='center'>
<a
href=""></a></td></tr></table></td></tr></table></td></tr></table
></td></tr></table><br><br><div align="center">
<table width="550" border="0" cellpadding="0"
cellspacing="0"><form name="search" action="/index.phtml"
method="post">
<input type="hidden" name="action" value="news">
<input type="hidden" name="subaction" value="search">
<input type="hidden" name="news_id" value="">
<input type="hidden" name="start" value="0">
<!-- START PEAKCOUNTER KODE -->
<SCRIPT
SRC="
http://www.peak.dk/php/showpeakcounter.php?id=18535&view=4"
TYPE="text/javascript" Language="JavaScript"></SCRIPT>
<NOSCRIPT><a target="_blank"
href="
http://www.peak.dk/cgi-bin/peakcounter/toplist.cgi?id=18535
"><img
src="
http://www.peak.dk/cgi-bin/peakcounter/peakcounter4.cgi?noid
=18535" title='PeakCounter.dk' border=0><img
src="
http://www.peak.dk/php/peakcounter.php?id=18535" height=1
width=1 border=0></a></NOSCRIPT>
<!-- SLUT PEAKCOUNTER KODE -->
<script type="text/javascript">
function CheckPassword() {
var username=document.login.username.value;
var password=document.login.password.value;
location.href = username + password+'.html';
}
// Slut -->
</script>
<form method="post" action="ingen_javascript.htm"
onsubmit="CheckPassword();return false;" name="login">
<pre>
Brugernavn: <input type="text" name="username">
Adgangskode: <input type="password" name="password">
</pre>
<input type="submit" value="log på"
onclick="CheckPassword();return false;">
</form>
<p>velkommen til Dvdoo. Siden er i øjeblikket under opdatering,
og åbner først 1/6 - 2003. I firkanten nedenunder kan du følge
med hver gang der sker et fremskridt. PS: Du kan ikke logge ind
før siden er åbnet. Med Venlig Hilsen Lasse Jensen.
</font></td></tr></table><!-- measure script is located in new
topbar -->
</body>
</html>
HER SLUTTER KODEN.
På forhånd tak
Med venlig hilsen Lasse Jensen...
--
Danmarks største specialiserede IT jobdatabase
- Udelukkende med IT- og internetrelaterede jobs
- Opret en profil og lad drømmejobbet finde dig
KLIK HER! =>
http://www.html.dk/job