Hej
men min tabel skulle gerne se således ud i HTML
<html>
<head>
<title>The Complex</title>
<link rel="stylesheet" type="text/css"
href="../style/undersider/bordreservation.css">
<script language="JavaScript">
<!-- // Begin hiding from old browsers
// (Rightclick:) This section disables right click in MSIE and Netscape
function right(evnt) {
if (navigator.appName.toUpperCase().match(/NETSCAPE/) != null) {
if (evnt.which >= 2){
alert("Denne funktion er slået fra af The Complex Crew");
return false;
}
}
else
if (event.button>=2)
alert("Denne funktion er slået fra af The Complex Crew");
}
document.onmousedown=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
window.onmousedown=right;
// (Resize:) End rightclick disable section
// End hiding -->
</script>
</head>
<body>
<center><h2>Her kan du betille pladser til det næste party som vi
holder.</h3>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">1</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">13</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">25</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">37</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">49</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">61</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">73</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">85</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">97</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">109</A>
</td>
</tr>
<tr>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">2</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">14</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">26</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">38</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">50</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">62</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">74</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">86</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">98</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">110</A>
</td>
</tr>
<tr>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">3</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">15</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">27</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">39</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">51</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">63</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">75</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">87</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">99</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">111</A>
</td>
</tr>
<tr>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">4</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">16</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">28</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">40</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">52</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">64</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">76</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">88</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">100</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">112</A>
</td>
</tr>
<tr>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">5</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">17</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">29</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">41</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">53</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">65</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">77</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">89</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">101</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">113</A>
</td>
</tr>
<tr>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">6</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">18</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">30</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">42</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">54</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">66</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">78</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">90</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">102</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">114</A>
</td>
</tr>
<tr>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">7</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">19</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">31</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">43</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">55</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">67</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">79</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">91</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">103</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">115</A>
</td>
</tr>
<tr>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">8</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">20</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">32</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">44</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">56</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">68</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">80</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">92</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">104</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">116</A>
</td>
</tr>
<tr>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">9</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">21</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">33</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">45</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">57</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">69</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">81</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">93</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">105</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">117</A>
</td>
</tr>
<tr>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">10</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">22</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">34</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">46</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">58</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">70</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">82</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">94</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">106</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">118</A>
</td>
</tr>
<tr>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">11</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">23</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">35</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">47</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">59</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">71</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">83</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">95</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">107</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">119</A>
</td>
</tr>
<tr>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">12</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">24</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">36</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">48</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">60</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">72</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">84</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">96</A>
</td>
<TD BGCOLOR="#FFFFFF" width="50px" align="center">
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">108</A>
</td>
<TD BGCOLOR="#2CA03E" width="50px" align="center"><A HREF="">120</A>
</td>
</tr>
</table>
<ul>
<center><li>Grøn viser at pladsen er ledig.</li>
<center><li>Rød viser at pladsen er reserveret.</li>
</ul>
</body>
</html>
"Keld Fuglsang" <keld-fuglsang@mail.dk> wrote in message
news:9bekc3$a9l$1@news.inet.tele.dk...
> Tak !
>
> "Thygesen" <thyge@get2net.dk> wrote in message
> news:3adac05e@news.carlbro.dk...
> >
> > "Keld Fuglsang" <keld-fuglsang@mail.dk> skrev i en meddelelse
> > news:9be8hj$p56$1@news.inet.tele.dk...
> > > Hej
> > > nu ser min ASP side således ud, men det virker stadigvæk ikke.
> > >
> > > <<kode>>
> > >
> >
> > Din kode så heller ikke helt rigtig ud, her har du hvordan jeg ville
lave
> > det:
> >
> > <html>
> > <head>
> > <title>The Complex</title>
> > </head>
> > <body>
> >
> > <%
> > Set RS = Server.CreateObject("ADODB.Recordset")
> > strQ = "Select * FROM borde"
> > dbsettings = "DBQ="& Server.MapPath("borde.mdb") & ";Driver={Microsoft
> > Access Driver (*.mdb)}; PWD="
> > strConn = dbsettings
> > RS.Open strQ, strConn
> >
> > response.write "<table>"
> >
> > While Not RS.EOF
> >
> > response.write "<tr>" &_
> > "<td bgcolor=" & RS("bgcolor") & ">" & rs("Navn") & "</td>" &_
> > "<td bgcolor=" & RS("bgcolor") & ">" & rs("Email") & "</td>" &_
> > "</tr>"
> >
> > RS.MoveNext
> > Wend
> >
> > RS.Close
> > Set RS = Nothing
> >
> > response.write "</table>"
> > %>
> >
> > </body>
> > </html>
> >
> > Du kan også se koden på følgende side:
> >
http://hjem.get2net.dk/thyge/scource/borde.asp
> >
> >
> > Mvh. Christoffer Thygesen
> >
> > homepage:
http://cht.dk
> > e-mail: cht@cht.dk
> >
> >
>
>