Hi,
I'm in desperate need of some help. I'm trying to create a form within a div. I'm using xhtml strict, and am using the fieldset to group things.
I've grouped a set of radio buttons in a fieldset, and I'm trying to position the fieldset within the div.
When I try to position the fieldset within the form, it looks fine in Microsoft expression and sits where I have told it to. However, when I launch it in the browser, it sits at the top of the page as if the browser hasn't recognised the fieldset. This is example code of the problem I'm having:
the html:
<div id="try">
<form id="form "method="post" action="">
<fieldset id="opt">
<input name="Radio1" type="radio" />
<input name="Radio1" type="radio" />
</fieldset>
</form>
</div>
the css:
#try {
margin: 0px auto 0px auto;
background-color: #00FFFF;
width: 200px;
height: 400px;
}
#try fieldset#opt {
margin-top: 200px;
}
Any suggestions gratefully received.