Change style="float: right" to class="pull-right" or left.
Use sid which contains the stateID rather than id which contains the
projectID.