teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

タグを一部追記

2016/01/21 07:55

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  色々調べてみましたが、javascriptが問題なのか、cssが問題なのか要因がわかりません。
8
8
  初歩的なことで申し訳ございませんが、どなたか詳しい方お教えいただけますでしょうか。
9
- (同サイト内にはslidebars.min.jsも使用しています
9
+ (同サイト内にはslidebars.min.jsも使用していますので、そちらも合わせてタグ記載をしております
10
10
 
11
11
  よろしくお願い致します。
12
12
 
@@ -22,12 +22,18 @@
22
22
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
23
23
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
24
24
  <link rel="stylesheet" href="../css/jquery.mobile.min.css" />
25
+ <link rel="stylesheet" href="../css/slidebars.css" />
25
26
  <script type="text/javascript" src="../js/jquery.min.js"></script>
27
+ <script type="text/javascript" src="../js/slidebars.min.js"></script>
26
28
  </head>
27
29
 
28
- <body id="nw_sp">
30
+ <body id="nw_sp">
31
+ <div id="sb-site">
29
32
 
33
+ <div id="footer">
30
- <p class="pagetop"><a href="#tg_top"><img src="../img/btn_pagetop.png" /><span class="disnon">ページTOPへ戻る</span></a></p>
34
+ <p class="pagetop"><a href="#tg_top"><img src="../img/btn_pagetop.png" /><span class="disnon">ページTOPへ戻る</span></a></p>
35
+ </div>
36
+ </div>
31
37
 
32
38
  <script type="text/javascript">
33
39
  $(function() {
@@ -51,6 +57,37 @@
51
57
  ```
52
58
 
53
59
  ```CSS
60
+ /* formatting style
61
+ --------------------------*/
62
+ * {
63
+ font-style: normal;
64
+ margin: 0px;
65
+ padding: 0px;
66
+ }
67
+
68
+ body {
69
+ font-size: 12px;
70
+ line-height: 2.0;
71
+ font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "MS Pゴシック", "MS PGothic", Century Gothic, sans-serif;
72
+ color: #000;
73
+ margin:auto;
74
+ background-color:none repeat scroll 0% 0% #FFF;
75
+ position:relative;
76
+ letter-spacing:0.8px;
77
+ }
78
+
79
+ /* basic layout
80
+ --------------------------*/
81
+
82
+ #footer{
83
+ width:100%;
84
+ overflow:hidden;
85
+ text-align:center;
86
+ }
87
+
88
+
89
+ /*pagetop--------------------------*/
90
+
54
91
  .pagetop {
55
92
  position: fixed;
56
93
  display:block;