From fc248155864bb83177606b468c7e8eb8344eeba7 Mon Sep 17 00:00:00 2001 From: Saumit Dinesan Date: Thu, 17 Aug 2023 11:15:53 +0530 Subject: Lab02: Create College Events website make use of HTML Tables --- Lab02/style.css | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 Lab02/style.css (limited to 'Lab02/style.css') diff --git a/Lab02/style.css b/Lab02/style.css new file mode 100644 index 0000000..21946af --- /dev/null +++ b/Lab02/style.css @@ -0,0 +1,52 @@ +html { + font-family: sans-serif; + text-align: center; + background-color: whitesmoke; + } + +h1 { + text-decoration: underline; +} + +table{ + border-collapse: collapse; + letter-spacing: 1px; + font-size: 0.8rem; + margin-left: auto; + margin-right: auto; +} + +#table1{ + border: 2px solid rgb(255, 0, 0); +} +#table2{ + border: 2px solid rgb(16, 245, 16); +} +thead{ + font-size: 15px; +} +tbody{ + font-style: normal; +} +tfoot{ + border-top: 2px solid rgb(0, 0, 0); +} + +td, th { + border: 1px solid rgb(190,190,190); + padding: 10px 20px; +} + +th { + background-color: rgb(235,235,235); +} + +td { + text-align: center; + background-color: white; +} + +caption { + font-size: 15px; + padding: 10px; +} \ No newline at end of file -- cgit v1.2.3