Hm, jeg er overhovedet ikke med på, hvordan tingene hænger sammen (får fejlmeddelelse). Gider I kigge på
http://www.include.dk/default1.asp - herunder er dokument + CSS:
default1.asp:
<!-- #include virtual="/includes/data.asp" -->
<html>
<!-- #include virtual="/includes/header.asp" -->
<body onload="settitle(); funClock();" style="margin-top: 0px; margin-left: 0px;">
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" style="width: 757px;" class="paper text11">
<!-- #include virtual="/includes/date.asp" -->
<tr>
<td style="width: 11px; height: 11px; background-image: url('/images/topleft.gif')"></td>
<td style="width: 735px; height: 11px;"></td>
<td style="width: 11px; height: 11px; background-image: url('/images/topright.gif')"></td>
</tr>
<tr>
<td colspan="3" style="height: 50px;"> </td>
</tr>
<tr>
<td colspan="3" valign="top">
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" style="width: 757px;">
<tr>
<td style="width: 1px;"></td>
<td style="width: 93px;"><a href="default1.asp" onFocus="this.blur();" class="menu">default1</a></td>
<td style="width: 1px;"></td>
<td style="width: 93px;"><a href="default2.asp" onFocus="this.blur();" class="menu">default2</a></td>
<td style="width: 1px;"></td>
<td style="width: 93px;"><a href="default3.asp" onFocus="this.blur();" class="menu">default3</a></td>
<td style="width: 1px;"></td>
<td style="width: 93px;"><a href="#" onFocus="this.blur();" class="menu">Link 4</a></td>
<td style="width: 1px;"></td>
<td style="width: 94px;"><a href="#" onFocus="this.blur();" class="menu">Link 5</a></td>
<td style="width: 1px;"></td>
<td style="width: 94px;"><a href="#" onFocus="this.blur();" class="menu">Link 6</a></td>
<td style="width: 1px;"></td>
<td style="width: 94px;"><a href="#" onFocus="this.blur();" class="menu">Link 7</a></td>
<td style="width: 1px;"></td>
<td style="width: 94px;"><a href="#" onFocus="this.blur();" class="menu">Link 8</a></td>
<td style="width: 1px;"></td>
</tr>
</table>
</center>
</div>
</td>
</tr>
<tr>
<td style="background-image: url('/images/dropshadow.gif'); height: 8px" colspan="3"></td>
</tr>
<tr>
<td align="center" colspan="3"><a href="#" onFocus="this.blur();" class="copyright"><b>COPYRIGHT include.dk © 2004</b></a></td>
</tr>
<tr>
<td style="width: 11px; height: 11px; background-image: url('/images/bottomleft.gif')"></td>
<td style="width: 735px; height: 11px;"></td>
<td style="width: 11px; height: 11px; background-image: url('/images/bottomright.gif')"></td>
</tr>
</table>
</center>
</div>
</body>
</html>
CSS:
body {
background-color: #396da5;
}
td {
vertical-align:top
}
.bodybg {
background-color: #396da5;
}
.text11 {
color: black;
font-style: normal;
font-weight: normal;
font-size: 11px;
font-family: geneva, verdana, helvetica;
line-height: 18px;
}
.text11white {
color: white;
font-style: normal;
font-weight: normal;
font-size: 11px;
font-family: geneva, verdana, helvetica;
line-height: 18px;
}
.text11red {
color: #800000;
font-style: normal;
font-weight: normal;
font-size: 11px;
font-family: geneva, verdana, helvetica;
line-height: 18px;
}
.text11blue {
color: #336699;
font-style: normal;
font-weight: normal;
font-size: 11px;
font-family: geneva, verdana, helvetica;
line-height: 18px;
}
.text11grey {
color: #a8a8a8;
font-style: normal;
font-weight: normal;
font-size: 11px;
font-family: geneva, verdana, helvetica;
line-height: 18px;
}
.paper {
background-color: #ffffff;
}
.paper1 {
background-color: #47688b;
}
.padding8 {
padding-left: 8px;
padding-top: 8px;
padding-right: 8px;
padding-bottom: 8px;
}
.padding12 {
padding-left: 12px;
padding-top: 12px;
padding-right: 12px;
padding-bottom: 12px;
}
.padding16 {
padding-left: 16px;
padding-top: 16px;
padding-right: 16px;
padding-bottom: 16px;
}
a {
font-size: 11px;
color: #800000;
font-family: geneva,verdana,helvetica;
text-decoration: none
}
a:hover {
color: #800000;
text-decoration: underline
}
a.copyright {
font-size: 11px;
color: #a8a8a8;
font-family: geneva,verdana,helvetica;
text-decoration: none
}
a.copyright:hover {
color: #08246b;
text-decoration: none
}
a.menu, a.menu:link, a.menu:visited {
width: 100%;
display: block;
font-family: geneva, verdana, helvetica, arial;
font-weight: none;
font-size: 11px;
text-decoration: none;
color: #e7e7e7;
background-color: #6b707b;
}
a.menu:hover {
color: #000000;
background-color: #b1b5bc;
}
.input1 {
border-bottom: black 1px solid;
border-left: black 1px solid;
border-right: black 1px solid;
border-top: black 1px solid;
font-family: geneva, verdana, helvetica;
font-size: 11px;
background-color: #d7d7d7;
}
.input2 {
border-bottom: black 1px solid;
border-left: black 1px solid;
border-right: black 1px solid;
border-top: black 1px solid;
font-family: verdana, helvetica, arial;
font-size: 11px;
}
.leftCell, .rightCell {
padding: 16px;
text-align:left;
width:252px;
vertical-align:top;
}
.leftCell {
border-right:1px solid #CCC;
}