소스 검색

refactor: remove div's deprecated align attribute (#311)

Hamir Mahal 1 년 전
부모
커밋
8a4816048e
2개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      numbat-wasm/www/index.html
  2. 4 0
      numbat-wasm/www/main.css

+ 1 - 1
numbat-wasm/www/index.html

@@ -26,7 +26,7 @@
   </head>
   </head>
   <body>
   <body>
     <div id="content">
     <div id="content">
-      <div align="center" id="container">
+      <div id="container">
       <img src="numbat.svg" id="logo" width="350" height="230" alt="">
       <img src="numbat.svg" id="logo" width="350" height="230" alt="">
       <p class="desc">high precision scientific calculator with full support for physical units.</p>
       <p class="desc">high precision scientific calculator with full support for physical units.</p>
       </div>
       </div>

+ 4 - 0
numbat-wasm/www/main.css

@@ -14,6 +14,10 @@ body {
     margin-top: 18px;
     margin-top: 18px;
 }
 }
 
 
+#container {
+    text-align: center;
+}
+
 #content {
 #content {
     max-width: 90%;
     max-width: 90%;
     width: 1000px;
     width: 1000px;