<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Нещо</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script>
$(document).ready(function(){
$("#right").click(function(){
$("form").animate({"left":"+=200px"});
});
$("#left").click(function(){
$("form").animate({"left":"-=200px"});
});
$("#top").click(function(){
$("form").animate({"top":"-=200px"});
});
$("#bottom").click(function(){
$("form").animate({"top":"+=150px"});
});
$("#iright").click(function(){
$("#navigator").animate({"left":"+=250px"});
});
});
</script>
<style>
tr > td {text-align: right}
td[colspan] {text-align: center}
</style>
</head>
<body>
<hr />
<form style="position:relative; outline-width:2px; border: 1px solid red">
<table border="0">
<tr><td>Сантиметри:</td>
<td>
<input type="text" id="sm" size="23" value="Моля, въведете стойност" />
</td><td><a href="#" onclick="document.getElementById('sm').value='';">изтрий</a></td></tr>
<tr><td>Милиметри:</td><td>
<input type="text" id="mm" size="23" value="Моля, въведете стойност" />
</td><td><a href="#" onclick="document.getElementById('mm').value='';">изтрий</a></td></tr>
<tr><td>Инчове:</td><td>
<input type="text" id="inch" size="23" value="Моля, въведете стойност" />
</td><td><a href="#" onclick="document.getElementById('inch').value='';">изтрий</a></td></tr>
<tr><td>Mетри:</td><td>
<input type="text" id="m" size="23" value="Моля, въведете стойност" />
</td><td><a href="#" onclick="document.getElementById('m').value='';">изтрий</a></td></tr>
<tr><td colspan="2"><input type="reset" value="Изчисти!" /></td></tr>
</table>
</form><hr />
<div id="navigator" style="position: relative;">
<input type="button" value="Вляво!" id="left" class="nav" />
<input type="button" value="Вдясно!" id="right" class="nav" /><br />
<input type="button" value="Нагоре!!" id="top" class="nav" />
<input type="button" value="Надолу!" id="bottom" class="nav" />
<input type="button" value=">>" id="iright" />
</div>
</body>
</html>