Christian: Linkrahmen erzwingen

Beitrag lesen

Hier ist mein Script. Es funktioniert nicht.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<style type="text/css">
.checkbox {
  cursor:hand;
}
</style>
<script type="text/javascript">
<!--
function checkboxdotted() {
document.checkbox.style.border = "1px dotted #000000";
}
//-->
</script>
</head>
<body>
<div align="center">
<br>
<label for="checkbox01" onClick="Javascript:checkboxdotted();"><span id="checkbox" class="checkbox">Option 1 <input id="checkbox01" type="checkbox"></span></label><br>
</div>
</body>
</html>