Skip to content

Instantly share code, notes, and snippets.

@tana
Created October 12, 2010 17:35
Show Gist options
  • Save tana/622577 to your computer and use it in GitHub Desktop.
Save tana/622577 to your computer and use it in GitHub Desktop.
<html>
<head>
<title>認証ページ</title>
<style>
input {
top: 10px; left: 10px; position: absolute;
width: 50px; height: 30px;
}
</style>
</head>
<body>
<input type="button" value="認証" onclick="alert('認証完了');" />
</body>
</html>
<html>
<head>
<title>hoge</title>
<style>
div {
overflow: hidden; position: relative; width: 50px; height: 30px;
background: url(button.png);
top left no-repeat;
}
iframe {
top: -10px; left: -10px; position: absolute;
width: 320px; height: 240px;
opacity: 0.01; -moz-opacity: 0.01; filter: alpha(opacity=1);
}
</style>
</head>
<body>
<div>
<iframe src="auth.html"></iframe>
</div>
<p>クリックしてください</p>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment