複数の<div>に同じidを指定して、
JavaScriptでdocument.getElementById(id名).style.backgroundColor='#FF0000';
とやったらどうなりますか?