Apologies for any confusion in how I'm presenting this question. What I am aiming for is to have the "output" display right next to the slider, rather than below it.
To see the issue: visit alainbruno.nl/form.html
As I am just beginning with HTML5, here is the current code:
<!DOCTYPE html>
<html lang = "en">
<head>
<title>Character Creation</title>
</head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script>
$(function(){
//Range
var val = $('#slider').val();
output = $('#output');
output.html(val);
$('#slider').on('change', function(){
output.html(this.value);
});
});
</script>
<body>
<h1>Form</h1>
<form>
<fieldset>
<legend>Appearance</legend>
<p>
<label>
Select Race:
</label>
<select id="Race">
<option value="human">Human</option>
<option value="faela">Faela</option>
<option value="domovoi">Domovoi</option>
<option value="arcon">Arcon</option>
<option value="tsaaran">Tsaaran</option>
</select>
</p>
<p>
<label>Select Gender</label>
<select id="Gender">
<option value="male">Male</option>
<option value="female">Female</option>
<option value="other">Other</option>
</select>
</p>
<p>
<label for="range">Select Age:</label> <input type="range" min="14" max="60" id="slider" value="10" name="range"> <div id="output"></div>
</p>
</fieldset>
</form>
</body>
</html>