I'm having a problem where my submit button isn't floating over to the right inside of the div. It's supposed to be inside of the "test" div, but it's just below it. What am I missing? This is just a test snippet I was working with to get this functionality to work correctly.
[CODE=html]
<div id="mainT">
<div id="test">
<h4>Enter New Values and Submit</h4>
<label>ID: </label>#URL.syst em#
<input class="submitT" type="Submit" value="Submit">
</div>
</div>
[/code]
[code=css]
div#mainT{
border:1px solid #CCC;
margin-bottom:25px;
width:600px;
padding:10px;
font-size:10px;
color:#000;
background-color:#EEE;
}
div#mainT input.submitT{
/*margin:0 0 0 15px;*/
float:right;
}
div#mainT label{
width:120px;
float:left;
/*margin:0 0 0 15px;*/
}
div#test{
border:1px solid red;
}
[/code]
[CODE=html]
<div id="mainT">
<div id="test">
<h4>Enter New Values and Submit</h4>
<label>ID: </label>#URL.syst em#
<input class="submitT" type="Submit" value="Submit">
</div>
</div>
[/code]
[code=css]
div#mainT{
border:1px solid #CCC;
margin-bottom:25px;
width:600px;
padding:10px;
font-size:10px;
color:#000;
background-color:#EEE;
}
div#mainT input.submitT{
/*margin:0 0 0 15px;*/
float:right;
}
div#mainT label{
width:120px;
float:left;
/*margin:0 0 0 15px;*/
}
div#test{
border:1px solid red;
}
[/code]
Comment