Kod
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl" lang="pl">
<head>
<meta name="generator" content="WebSite PRO 4.3" />
<meta http-equiv="content-type" content="text/html; charset=iso-8859-2" />
<title>Tytuł</title>
<style type="text/css">
body{
font:8pt "Verdana","Arial","Helvetica",sans-serif;
margin-left:auto;
margin-right:auto;
}
#header{
position:relative;
border:1px solid #CBC3BB;
font-weight: bold;
background-color:#DFDBC3;
padding:2px;
margin-left:auto;
margin-right:auto;
text-align:center;
}
#content{
position:relative;
height:auto;
padding:0px;
margin-left:auto;
margin-right:auto;
}
#left {
float:left;
padding:2px;
}
#right {
float:right;
padding:2px;
}
div {
background-color:#F5F5F5;
}
.h300 {
width:300px;
}
.h306 {
width:306px;
}
.h755 {
width:755px;
}
.h761 {
width:761px;
}
.c98 {
width:98px;
border:1px solid #CBC3BB;
border-top:0;
border-left:0;
}
.c197 {
width:197px;
border:1px solid #CBC3BB;
border-top:0;
}
.c197h {
width:197px;
height:50px;
border:1px solid #CBC3BB;
border-top:0;
}
.c553 {
width:553px;
height:50px;
border:1px solid #CBC3BB;
border-top:0;
border-left:0;
}
</style>
</head>
<body>
<div id="header" class="h300">Statystyki ogólne</div>
<div id="content" class="h306">
<div id="left" class="c197">1</div>
<div id="right" class="c98">3</div>
</div>
<br /><br />
<div id="header" class="h755">x ostatnich odwiedzin</div>
<div id="content" class="h761">
<div id="left" class="c197h">1<br><br></div>
<div id="right" class="c553">3<br><br></div>
</div>
</body>
</html>
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl" lang="pl">
<head>
<meta name="generator" content="WebSite PRO 4.3" />
<meta http-equiv="content-type" content="text/html; charset=iso-8859-2" />
<title>Tytuł</title>
<style type="text/css">
body{
font:8pt "Verdana","Arial","Helvetica",sans-serif;
margin-left:auto;
margin-right:auto;
}
#header{
position:relative;
border:1px solid #CBC3BB;
font-weight: bold;
background-color:#DFDBC3;
padding:2px;
margin-left:auto;
margin-right:auto;
text-align:center;
}
#content{
position:relative;
height:auto;
padding:0px;
margin-left:auto;
margin-right:auto;
}
#left {
float:left;
padding:2px;
}
#right {
float:right;
padding:2px;
}
div {
background-color:#F5F5F5;
}
.h300 {
width:300px;
}
.h306 {
width:306px;
}
.h755 {
width:755px;
}
.h761 {
width:761px;
}
.c98 {
width:98px;
border:1px solid #CBC3BB;
border-top:0;
border-left:0;
}
.c197 {
width:197px;
border:1px solid #CBC3BB;
border-top:0;
}
.c197h {
width:197px;
height:50px;
border:1px solid #CBC3BB;
border-top:0;
}
.c553 {
width:553px;
height:50px;
border:1px solid #CBC3BB;
border-top:0;
border-left:0;
}
</style>
</head>
<body>
<div id="header" class="h300">Statystyki ogólne</div>
<div id="content" class="h306">
<div id="left" class="c197">1</div>
<div id="right" class="c98">3</div>
</div>
<br /><br />
<div id="header" class="h755">x ostatnich odwiedzin</div>
<div id="content" class="h761">
<div id="left" class="c197h">1<br><br></div>
<div id="right" class="c553">3<br><br></div>
</div>
</body>
</html>
Wszystko jest cacy tylko, że Validator pokazuje mi np. takie 'błędy':
Line 88, column 9: ID "header" already defined (explain...).
Line 87, column 5: document type does not allow element "br" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag
Jak to naprawić?