<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
body { | |
font-size: 13px; | |
font-family: sans-serif; | |
} | |
table { | |
padding: 2px 3px 3px 2px; | |
} | |
input { | |
padding: 6px 6px 5px 5px; | |
} | |
</style> | |
</head> | |
<body> | |
<fieldset> | |
<table> | |
<tr> | |
<td> | |
<input type="text" value=""/> | |
</td> | |
</tr> | |
</table> | |
</fieldset> | |
<script> | |
var el = document.getElementsByTagName('input')[0]; | |
el.focus(); | |
</script> | |
</body> | |
</html> |