Fieldset setting in IE and Firefox

Hi, I am using fieldset to group checkboxes.
fieldset {
border:none;
autoHeight:true;
}
Several fieldset groups are used inside td (table). In firefox 3.6.17, the layout comes properly. The fieldset automatically adds a line break for every tr-td combination, the layout shows fine.
But in IE 8.0.6001, the fieldset does not add a line break for every td/tr. So I have to add an additional blank/empty tr/td to add a line break. Doing so adds 2 lines in FF.
How to overcome this problem? What is the ideal css style to be used so that the display comes properly in both IE and FF?

I'm having trouble imagining why someone would put a fieldset inside a table. Anyway, we need to see more of your code to be able to help you. When posting code, please place it between [code][/code] tags.

I should probably also mention that there is no CSS property named "autoHeight". Most elements have an automatic height by default. Also mixed-capitalization like that is a convention in JavaScript, not CSS. In CSS, it's best to use all-lowercase property names.

I am in the same team as Sripathi. He is having problem (unable to reset password) with his id and hence I am responding. Below is the subset of actual code. APRindustry_filter and GSDindustry_filter will get replaced with checkboxes dynamically at runtime.

Thanks Andrew. But this is the best way I could fit the form fields in the defined layout.
Also the problem is not with div or span. It has to do with the fieldset having extra bottom margin in case of Firefox and compacting itself in Internet explorer. I looked around and there are many people having the same issue. To workaround with this, I have the below solution. For now, this solution is working. But I am not 100% convinced on this. I would request expert comments on this solution..

Code:

<html>
<!--Referenced from the URL -- http://rafael.adm.br/css_browser_selector/ -->
<script src="css_browser_selector.js" type="text/javascript"></script>
<style type="text/css">
<!-- This will work for all non IE browsers -->
.fieldset {
border:none;
} /* No border */
<!-- This will work for all only IE browsers. Since IE is compacting the fieldset, adding an extra margin to the bottom.-->
.ie .fieldset {
border:none;
margin-bottom:4%;
}/* No border. Extra margin to the bottom for IE */
</style>

So your HTML is invalid and you will likely encounter further problems with the page.

But it's up to you

The span will get replaced dynamically as a label/textfield/textarea etc by the core(code) engine. It depends on the background logic.
I will change the code to use </span> instead of <span..../> . Thanks for educating me on this.
But do you think that this logic by using javascript and css together should be ok? I somehow hate to do this browser specific logic, but in this case I am forced to. These browser specific standards are really killing us. I dont use(like)IE, but as per the requirements, I have to get the standards working on all standard browsers.
The fieldset problem is a very common one and I wonder whats the approach.