Gitlab@Informatics

Skip to content
Snippets Groups Projects
Commit 71f618d1 authored by 65160260's avatar 65160260
Browse files

Edit style.css

parent 2368af8c
No related branches found
No related tags found
No related merge requests found
...@@ -14,6 +14,7 @@ body { ...@@ -14,6 +14,7 @@ body {
padding: 20px; padding: 20px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
border-radius: 10px; border-radius: 10px;
text-align: center; /* ทำให้เนื้อหาใน container อยู่ตรงกลาง */
} }
/* หัวข้อ */ /* หัวข้อ */
...@@ -23,6 +24,11 @@ h2 { ...@@ -23,6 +24,11 @@ h2 {
} }
/* ตารางสินค้า */ /* ตารางสินค้า */
.table-container {
width: 80%; /* จำกัดความกว้างของตาราง */
margin: auto; /* จัดให้อยู่ตรงกลาง */
}
table { table {
width: 100%; width: 100%;
border-collapse: collapse; border-collapse: collapse;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment