Non capisco dove stia l'errore
codice:
function resizeTable() {
if (screen.height = 1024){
  document.getElementById('tabellacentrale').style.height = screen.height-468;
 }
if (screen.height = 768){
  document.getElementById('tabellacentrale').style.height = screen.height-724;
 }
if (screen.width = 800){
  document.getElementById('login').style.width = 300;
 }
}
Mi segna come errore la riga in rosso, non capisco proprio perchè!!!