안효원 안효원 2021-07-13
기타 CSS 수정 및 게시판 완성
@3ca03cfce1b34b643bf95ea15fd8f7ba369a75c3
index.php
--- index.php
+++ index.php
@@ -2,7 +2,7 @@
 /**
  * @var $connStatus
  */
-    ini_set("display_errors", 1);
+    ini_set("display_errors", 0);
     include("config/db.config.php");
 ?>
 <!doctype html>
updateWrite.php
--- updateWrite.php
+++ updateWrite.php
@@ -26,7 +26,7 @@
         #contents {font-weight: bold; padding-left: 10px;}
         #file {padding-left: 60px;}
         #textarea {width: 98%; height: 200px; background-color: white; margin: 0 auto;}
-        .btnS {font-weight: bolder; background-color: darkslategrey; border-style: none; color: white; height: 30px; width: 50px;}
+        .btnS {font-weight: bolder; background-color: darkslategrey; border-style: none; color: white; height: 30px; width: 50px; float: right;}
         .btnS:hover {background-color: black;}
     </style>
 </head>
view.php
--- view.php
+++ view.php
@@ -84,11 +84,11 @@
         <button class="btnS" id="btnDelete" onclick="deleteCheck()">삭제</button>
         <button class="btnS" id="btnList" onclick="location.href='main.php?&option=<?php echo $_GET['option']?>&searchText=<?php echo $text?>'">목록</button>
     </div>
-
     <div id="answerSector">
         <form action="config/reply.php?whereValue=<?php echo $num; ?>&option=<?php echo $_GET['option'] ?>&searchText=<?php echo $text ?>" method="post">
             작성자 : <input type="text" name="answerWriter"><br>
-            댓글 : <textarea id="answerText" name="answerText"></textarea><br>
+            <p>댓글 :<textarea id="answerText" name="answerText"></textarea></p>
+            <br>
             비밀번호 : <input class="pwText" type="password" name="pw" placeholder="only number">
             비밀번호 확인 : <input class="pwText" type="password" name="pwCheck" placeholder="only number">
             <input class="btnS" type="submit" value="확인">
@@ -117,7 +117,6 @@
         }
         ?>
     </div>
-
 </div>
 </body>
 </html>
(No newline at end of file)
write.php
--- write.php
+++ write.php
@@ -25,10 +25,8 @@
         #text1 {width: 250px; float: right;}
         #text2 {width: 250px; float: right;}
         #text3 {width: 500px; height: 250px; float: right;}
-        #btnWrite {font-weight: bolder; background-color: darkslategrey; border-style: none; color: white; height: 30px; width: 50px;}
-        #btnList {font-weight: bolder; background-color: darkslategrey; border-style: none; color: white; height: 30px; width: 50px;}
-        #btnWrite:hover {background-color: black;}
-        #btnList:hover {background-color: black;}
+        .btn {font-weight: bolder; background-color: darkslategrey; border: black solid; color: white; height: 30px; width: 50px; float: right;}
+        .btn:hover {background-color: black;}
         #textareaHeight {height: 250px;}
     </style>
 </head>
@@ -42,18 +40,14 @@
     <div id="title"><h1>글 쓰기</h1></div>
     <hr id="hr">
     <div id="contents">
-
         <form id="form" method="post" action="config/insert.php" enctype="multipart/form-data">
-
             <p>작성자 : <input id="text1" type="text" name="writer"></p>
             제목 : <input id="text2" type="text" name="title" placeholder="최대 50자">
             <p id="textareaHeight">글 : <textarea id="text3" name="contents" placeholder="최대 500자"></textarea></p>
             <input type="file" name="uploadFile"><br>
-            <input type="submit" id="btnWrite" value="작성">
-
+            <input type="submit" class="btn" value="작성">
         </form>
-
-        <button id="btnList" onclick="location.href='main.php'">목록</button>
+        <button class="btn" onclick="location.href='main.php'">목록</button>
 
     </div>
 </div>
Add a comment
List