回答編集履歴
2
追記
answer
CHANGED
@@ -4,4 +4,47 @@
|
|
4
4
|
|
5
5
|
こちらで表示したもの
|
6
6
|
|
7
|
-

|
7
|
+

|
8
|
+
|
9
|
+
```html
|
10
|
+
<!DOCTYPE HTML>
|
11
|
+
<html lang="en-US">
|
12
|
+
<head>
|
13
|
+
<meta charset="UTF-8">
|
14
|
+
<title></title>
|
15
|
+
<style type="text/css">
|
16
|
+
.topmanu{
|
17
|
+
background-color:#3a3b3c;
|
18
|
+
height:56px;
|
19
|
+
width:1000px;
|
20
|
+
margin:0;
|
21
|
+
padding:0 420px;
|
22
|
+
}
|
23
|
+
.topmanu ul {
|
24
|
+
display:flex;
|
25
|
+
margin:0;
|
26
|
+
padding:0;
|
27
|
+
|
28
|
+
}
|
29
|
+
.topmanu li{
|
30
|
+
font-family: sans-serif;
|
31
|
+
color:white;
|
32
|
+
height:56px;
|
33
|
+
width:180px;
|
34
|
+
vertical-align: middle; /* 上下 */
|
35
|
+
text-align: center; /* 左右 */
|
36
|
+
line-height: 56px; /* これがないとvertical-align で設定しても要素に高さがないため視覚的に効果がない*/
|
37
|
+
}
|
38
|
+
</style>
|
39
|
+
</head>
|
40
|
+
<body>
|
41
|
+
<div class="topmanu">
|
42
|
+
<ul>
|
43
|
+
<li>未経験でも大丈夫?</li>
|
44
|
+
<li>未経験からの勉強法</li>
|
45
|
+
<li>Webデザイナーの仕事</li>
|
46
|
+
</ul>
|
47
|
+
</div>
|
48
|
+
</body>
|
49
|
+
</html>
|
50
|
+
```
|
1
追記
answer
CHANGED
@@ -1,3 +1,7 @@
|
|
1
1
|
過去の質問にいっぱいあるので参考にしてください。
|
2
2
|
|
3
|
-
[リンク内容](https://teratail.com/questions/search?q=%E4%B8%AD%E5%A4%AE%E6%8F%83%E3%81%88&conditions=and)
|
3
|
+
[リンク内容](https://teratail.com/questions/search?q=%E4%B8%AD%E5%A4%AE%E6%8F%83%E3%81%88&conditions=and)
|
4
|
+
|
5
|
+
こちらで表示したもの
|
6
|
+
|
7
|
+

|