Hallo, was ist besser:
XHTML 1.0 Strict
oder XHTML 1.1 ?
Bei beiden Doctypes ist meine Page valid, welchen soll ich nehmen? Welcher ist proffesioneller?
Danke
Gamling
edit: Wo ich schon dabei bin:
Code
body {
background-image:url(background.png);
margin:0px;
font-family:"arial","verdana";
}
#zentriert {
margin-left:auto;
margin-right:auto;
width:808px;
background-image:url(background2.png);
font-family:"arial","verdana";
}
#header {
width:794px;
height:150px;
background-image:url(header.png);
margin-left:4px;
margin-right:4px;
border-left:3px solid #b5b5bd;
border-right:3px solid #b5b5bd;
border-bottom:3px solid #b5b5bd;
font-family:"arial","verdana";
}
#navigation_links {
float:left;
margin-left:4px;
border-left:3px solid #b5b5bd;
background-color:#6b6767;
width:94px;
height:512px;
}
span.navigation_ueberschrift {
display:block;
width:84px;
background-color:#eaeaea;
border:1px solid #b3b3b3;
margin:4px; text-align:center;
text-decoration:none;
color:#a61616;
height:20px;
font-size:15px;
font-weight:bold;
}
a.navigation_link {
display:block;
width:84px;
background-color:#eaeaea;
border:1px solid #b3b3b3;
margin:4px;
text-align:center;
text-decoration:none;
color:#616161;
height:18px;
font-size:14px;
font-family:"arial","verdana";
}
#google_adsense {
display:block;
width:84px;
background-color:#eaeaea;
border:1px solid #b3b3b3;
margin:4px; text-align:center;
text-decoration:none;
color:#616161;
height:256px;
font-size:12px;
font-family:"arial","verdana";
}
#content {
width:599px;
margin-left:0px;
padding:0px;
float:left;
background-color:#6b6767;
border-left:3px solid #b5b5bd;
border-right:3px solid #b5b5bd;
height:512px;
font-family:"arial","verdana";
}
.content_header {
display:block;
width:583px;
background-color:#eaeaea;
border:1px solid #b3b3b3;
margin-left:4px;
text-align:left;
text-decoration:none;
color:#a61616;
height:20px;
font-size:15px;
font-weight:bold;
font-family:"arial","verdana";
padding-left:3px;
padding-right:3px;
}
.content_text {
display:block;
width:583px;
background-color:#eaeaea;
border:1px solid #b3b3b3;
margin-left:4px;
text-align:left;
text-decoration:none;
color:#616161;
font-size:13px;
font-weight:normal;
font-family:"arial","verdana";
padding-left:3px;
padding-right:3px;
height:476px;
margin-top:0px
}
.spacer {
margin:0px;
padding:0px;
border:0px;
}
#navigation_rechts {
margin-left:0px;
float:right;
width:94px;
border-right:3px solid #b5b5bd;
background-color:#6b6767;
font-family:"arial","verdana";
margin-right:4px;
height:512px;
}
.navigation_rechts_ueberschrift_oben {
display:block;
width:84px;
background-color:#eaeaea;
border:1px solid #b3b3b3;
text-align:center;
text-decoration:none;
color:#a61616;
height:20px;
font-size:15px;
font-weight:bold;
margin-left:4px;
margin-top:4px;
margin-right:4px;
}
.partner {
display:block;
width:84px;
background-color:#eaeaea;
border:1px solid #b3b3b3;
margin:4px;
text-align:center;
text-decoration:none;
color:#616161;
height:160px;
font-size:10px;
font-family:"arial","verdana";
}
#footer_div {
clear:both;
width:794px;
height:31px;
background-image:url(footer.png);
margin:auto;
border:3px solid #b5b5bd;
margin-left:4px;
margin-right:4px;
font-family:"arial","verdana";
text-align:left;
color:#ffffff;
font-size:16px;
}
#footer_span {
text-align:center;
padding-left:282px;
padding-right:282px;
font-size:16px;
color:#ffffff;
}
a.footer_link {
color:#ffffff;
text-decoration:none;
}
* html #navigation_rechts {
margin-left:0px;
float:right;
width:94px;
border-right:3px solid #b5b5bd;
background-color:#6b6767;
font-family:"arial","verdana";
margin-right:2px;
height:512px;
}
* html #navigation_links {
float:left;
margin-left:2px;
border-left:3px solid #b5b5bd;
background-color:#6b6767;
width:94px;
height:512px;
}
* html #content {
width:599px;
margin-left:0px;
padding:0px;
float:left;
background-color:#6b6767;
border-left:3px solid #b5b5bd;
border-right:3px solid #b5b5bd;
height:512px;
font-family:"arial","verdana";
}
Alles anzeigen
Ist das schon Level 2 CSS oder noch Level 1?