From ecbef676d7a60aa87d4ac3a2cf24dff59b0e00af Mon Sep 17 00:00:00 2001 From: pb <akdl4045@ajou.ac.kr> Date: Wed, 22 Mar 2023 23:38:08 +0900 Subject: [PATCH] modi_6 --- public/index.html | 2 +- public/style.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/index.html b/public/index.html index dba32be..78e6cad 100644 --- a/public/index.html +++ b/public/index.html @@ -8,7 +8,7 @@ </head> <body> <div class="container"> - <img><img src = "1.jpg" alt = "No image" width="300" height ="300"> + <img src = "1.jpg" alt = "No image" width="300" height ="300"> </div> <h1>안녕하세요 박병하의 홈페이지입니다!</h1> diff --git a/public/style.css b/public/style.css index 7987ede..d6efdac 100644 --- a/public/style.css +++ b/public/style.css @@ -11,6 +11,6 @@ text-align : center; .container img{ display: block; - margin: auto; + margin: 0 auto; } -- GitLab