diff --git a/public/index.html b/public/index.html index 1642880b45a7e7c4521ff4ef5d7c1a7b17c4b4d7..dba32be391bfeabe298e14ae5e52533870f43fb8 100644 --- a/public/index.html +++ b/public/index.html @@ -7,13 +7,13 @@ <link rel="stylesheet" href="style.css"> </head> <body> - <div style="text-align : center;"> + <div class="container"> <img><img src = "1.jpg" alt = "No image" width="300" height ="300"> </div> <h1>안녕하세요 박병하의 홈페이지입니다!</h1> - <h2>동료 홈페이지입니다</h2> - <a href="http://ygg0418.ajousw.kr/testhomepage/"> mate-web-page</a> + <h2>↓동료 홈페이지입니다↓</h2> + <a href="http://ygg0418.ajousw.kr/testhomepage/"> 동료 web-page</a> <h3 style="color:aquamarine">취미 </h3> <ol> diff --git a/public/style.css b/public/style.css index 8a39f83d604ebb75d7a34361a26fb379390b50cf..7987ede79bea615ff06506d9d284c85cebe386c2 100644 --- a/public/style.css +++ b/public/style.css @@ -4,5 +4,13 @@ body { max-width: 1280px; } +.container{ +text-align : center; +} + +.container img{ + display: block; + margin: auto; +}