Changing Single DIV's Colour in HTML

Hi all,

I’ve got a CSS div called “main” which is used throughout my site to hold my main content. “main” has been assigned the colour white in the CSS file I’m using. My question is this:

I have a single content table instance of “main” I want to be a different background colour from the standard white. How do I change this in my HTML document without having to distroy the colour set in the CSS file.

Everyone got that?

I was thinking

<div id=“main”>
<style>background-color; #4eab30<style>
</div>

but this doesn’t seem to affect it. Any ideas people?

Erm… something you’ve done chops off the rest of the page. If you’ve used some type of CSS codig you need to put it in a PHP tag.

But if you label it something other than main, you can give it it’s own characteristics.