waterson%netscape.com 17634000b5 Check in buster's block regression tests.
git-svn-id: svn://10.0.0.236/trunk@72580 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 00:53:47 +00:00

47 lines
750 B
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html>
<head>
<title></title>
<style type="text/css">
p {
height: 50px;
width: 300px;
border: 3px solid green;
background: yellow;
color: black;
margin: 0;
}
.one {
}
.two {
margin-left: 30px;
margin-top: -56px;
}
.three {
margin-left: 60px;
margin-top: -56px;
}
</style>
<script type="text/javascript">
function dealwith(str) {
alert("You clicked on paragraph " + str + ".");
}
</script>
</head>
<body>
<p class="one" onclick="dealwith('one')">Paragraph one</p>
<p class="two" onclick="dealwith('two')">Paragraph two</p>
<p class="three" onclick="dealwith('three')">Paragraph three</p>
</body>
</html>