Questi sono i due doctype:
codice:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Questa è la definizione dei blocchi nel css:
codice:
.intestazione {
width:100%;
height:100px;
padding:3px;
margin:3px;
background-color:#2B4BAB;
border-style:solid;
border-width:1px;
border-color:black;
text-align:center;
vertical-align:middle;
color:white;
}
.riga_menu {
width:100%;
height:20px;
}
Ovviamente non ci sono solo questi due blocchi, ma il difetto è quello: intestazione con xhtml è + lungo!