doctype strict può anche starci purchè all'interno vengano utilizzati tag html strict.
con gli errori css non c'entra nulla