PHPでCSSのファイルが読み込まれません。
なぜでしょうか?
index.php
php
1<!DOCTYPE html> 2<html lang="ja"> 3 <head> 4 <meta charset="utf-8"> 5 <title>BINGO!</title> 6 <link rel="stylesheet" href="styles.css"> 7 </head> 8 <body> 9 <div id="container"> 10 <table> 11 12 <tr> 13 <th>B</th> 14 <th>I</th> 15 <th>N</th> 16 <th>G</th> 17 <th>O</th> 18 </tr> 19 20 <tr> 21 <td>1</td> 22 <td>1</td> 23 <td>1</td> 24 <td>1</td> 25 <td>1</td> 26 </tr> 27 </table> 28 29 </div> 30 31 </body> 32</html>
styles.css
css
1body { 2 font-family: Arial, sans-erif; 3 text-align: center; 4 font-size: 16px; 5} 6 7#conteiner { 8 margin: 0 auto; 9 width: 322px; 10} 11 12td, th { 13 width: 60px; 14 height: 45px; 15} 16 17td { 18 background: #F06292; 19 color: #fff; 20} 21 22th { 23 color: #F06292; 24 font-size: 22px; 25}
宜しくお願い致します。
回答2件
あなたの回答
tips
プレビュー