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

質問編集履歴

1

文法の修正

2021/11/18 15:36

投稿

yuri.s
yuri.s

スコア6

title CHANGED
File without changes
body CHANGED
@@ -1,7 +1,6 @@
1
1
  ### 前提・実現したいこと
2
2
 
3
- 文字の数によって背景が伸びるようにデザインを作成しました。。
4
- 文字の位置をどんなサイトのサイズでも固定したいです。
3
+ サイトを大きくしたり小さくしたりしても文字の位置を固定したいです。
5
4
 
6
5
  ### 発生している問題・エラーメッセージ
7
6
 
@@ -12,7 +11,56 @@
12
11
  ### 該当のソースコード
13
12
 
14
13
  ```ここに言語名を入力
14
+ HTML
15
+
16
+ <div id="voice">
17
+ <br>
18
+ <div id="voicef"></div>
19
+ <div id="voicewrap">
20
+ <div id="container3">
21
+ <img style="float: left; padding-bottom: 0px; padding-top: 0px; padding-left: 760px; padding-right: 20px" src="images/kao.png">
22
+ <div id="text3">
23
+
24
+ ロードマップ拝見しました!<BR>
25
+ 今までいかに適当にやっていたかを思い知ること<BR>
26
+ ができました…!!<br>
27
+ 間違いなくこれを見て運用すれば目指すアカウン<br>
28
+ トに近づくと思います。ありがとうございました!
29
+ </div></div></div>
30
+ <div id="voicel"></div>
31
+ </div>
32
+
33
+ CSS
34
+
35
+ #voice { background: url("../images/bg_01.png") no-repeat top center; height: 640px; }
36
+ #voicef { background: url("../images/voice.png") no-repeat top center; height: 13px; }
37
+ #voicewrap {
38
+ background-image: url("../images/voice_wrap.png");
39
+ background-repeat: repeat-y;
40
+ background-position: center top;
41
+ background-position:50% 0%;
42
+ }
43
+ #voicel { background: url("../images/voice_last.png") no-repeat top center; height: 14px; }
44
+
15
- ソースコード
45
+ #text3{
46
+ padding-top: 0px;
47
+ padding-bottom: 5px;
48
+ padding-left:100px;
49
+ text-align: left;
50
+ font-size: 14px;
51
+ color: rgb(30, 122, 165);
52
+ font-weight: lighter;
53
+ }
54
+
55
+ #container3 {
56
+
57
+ padding-top: 10px;
58
+ padding-bottom: 4px;
59
+ padding-left:0px;
60
+ padding-right:200px;
61
+ text-align:left;
62
+
63
+ }
16
64
  ```
17
65
 
18
66
  ### 試したこと
@@ -21,6 +69,4 @@
21
69
 
22
70
  ### 補足情報(FW/ツールのバージョンなど)
23
71
 
24
- ここにより詳細な情報を記載してください。
72
+ HTML Visual Sutadio
25
-
26
- vscode 最新