前提・実現したいこと
HTML.CSSで通常通り実装しても文字がHTMLから反映されてない場合どのようなケースが考えられるでしょうか?
発生している問題・エラーメッセージ
・footerに文字「abc」を入れたいが入らない。
→文字以外は反映される
エラーメッセージ→特になし
### 該当のソースコード <div class="footer">abc</div> .footer{ height:50px; width:1000px; background-color:#00ced1; margin: 10px; } ```ここに言語名を入力 HTML/CSS
ソースコード
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title></title> <link rel="stylesheet" href="style.css"> </head> <body> <div class="wrapper"> <div class="header"></body> </html><div class="header_left"> <img src="file:///Users/apple/Downloads/logo.png" alt=""> </div> <div class="header_right"> <div class="header_rightupper"></div> <div class="header_rightrower"></div> </div> </div> <div class="main"></div> <div class="footer">abc</div> </div>
.clearfix:after{
content: "";
display: block;
clear: both;
}
.wrapper{
margin: 0 auto;
}
.margin{
}
.header{
height:120px;
width:1000px;
margin: 10px;
}
.header_left{
height: 120px;
width: 200px;
background: #red url('file:///Users/apple/Downloads/logo.png') no-repeat;
float: left;
}
.header_right{
height: 120px;
width: 800px;
float: right;
}
.header_rightupper{
height: 60px;
width: 800px;
background-color: #87ceeb;
}
.header_rightrower{
height: 60px;
width: 800px;
background-color: #00ffff;
}
.main{
}
.footer{
height:50px;
width:1000px;
background-color:#00ced1;
margin: 10px;
}
試したこと
一回文字を消して再読み込みした。検索、復習をした
回答1件
あなたの回答
tips
プレビュー