moveOver Class Functionality

The moveOver class is for positioning elements (most of the time buttons) so that they are aligned with the input areas, rather than the labels. You could conceivably put anything inside a div using this class. In the following example, I place a warning paragraph and a button in the moveOver class div:

Be sure to insert your full name before submitting.


Relevant HTML

<div class="moveOver">
	<p class="red">Be sure to insert your full name before submitting.</p>
	
	<button type="submit">Submit</button>
</div>

Relevant CSS

.moveOver
{
	padding-left:160px;
	clear:both;
}

« Back to Functionality Index