Hey…this link should help you out….https://elliotjaystocks.com/blog/archive/2008/wordpress-tutorialhow-to-apply-a-dynamic-body-class-or-id/
Basically an easy way to accomplish this is to identify the div that you want changed for each page and replace it with this..
<?php if (is_front_page()) { ?>
<body class=”news”> <!– The default body class is “news” –>
<?php } else { ?>
<body class=”<?php echo $post->post_name; ?>”> <!– An alternative body class is defined, based on the page title –>
<?php } ?>
On my site I changed the header for each page so I changed the <body class” to <div id=”header”. I utilized the .htacess permalinks so the page name would reflect the div in my css.