Skip to content

Instantly share code, notes, and snippets.

@katsuyax
Last active November 21, 2020 14:05
Show Gist options
  • Select an option

  • Save katsuyax/b18cc80c10ba89c860e2aece4788d4f0 to your computer and use it in GitHub Desktop.

Select an option

Save katsuyax/b18cc80c10ba89c860e2aece4788d4f0 to your computer and use it in GitHub Desktop.
<html>
<head>
〜省略〜
<style type="text/css">
<!--
footer{
width: 100%;
height: 100px; ←広告の高さと同じ高さを指定する
z-index: 10; ←一番前に表示させる
position: absolute;
bottom: 0;
}
-->
</style>
</head>
<body>
〜省略〜
<footer id="footer">
〜ここに広告のスクリプトを入れる〜
</footer>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment