Hallo!
Ich habe ein Problem beim Validieren:
"
Error Line 64 column 34: character data is not allowed here.
<td/> Montag <td/> 8.00 - 13.00 Uhr, 14-18 Uhr
You have used character data somewhere it is not permitted to appear. Mistakes that can cause this error include putting text directly in the body of the document without wrapping it in a container element (such as a <p>aragraph</p>) or forgetting to quote an attribute value (where characters such as "%" and "/" are common, but cannot appear without surrounding quotes).
"
Der Fehler tritt jeweils bei allen Texten hinter einem <td/> -Tag auf (Montag, Dienstag,.. 8.00-13.00, 14.00-18.00, ...).
Habe schon versucht jeweils <p>-Elemente zuzuordnen, bringt aber leider auch nichts.
Der Quelltext:
"
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="de">
<head>
<title> </title>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<link rel="stylesheet" href="style.css" type="text/css" />
<style type="text/css">
#pic {
width: 300px;
height: 300px;
background-image:url(pic/sw_3.png);
background-repeat:no-repeat;
background-attachment:fixed;
float: left;
position: absolute;
}
#text {
background-color:#f2f2f2;
width: 500px;
height:300px;
float: right;
margin-left: 300px;
position: absolute;
overflow:auto;
}
</style>
</head>
<body>
<div id="pic">
</div>
<div id="text">
<p class="U1"> Öffnungszeiten </p>
HIER DER RELEVANTE TEIL:____________________________________________________
<table class="T">
<tr>
<td/> Montag <td/> 8.00 - 13.00 Uhr, 14-18 Uhr
</tr>
<tr>
<td/> Dienstag <td/> 8.00 - 13.00 Uhr, 14-18 Uhr
</tr>
<tr>
<td/> Mittwoch <td/> 8.00 - 13.00 Uhr
</tr>
<tr>
<td/> Donnerstag <td/> 8.00 - 13.00 Uhr, 14-18 Uhr
</tr>
<tr>
<td/> Freitag <td/> 8.00 - 16.00 Uhr
</tr>
</table>
____________________________________________________
</div>
</body>
</html>
"
Vielen Dank schonmal!