From 708bd2ebbbbf7ec3a59372674dcaf26e7504d20b Mon Sep 17 00:00:00 2001 From: Aryan Date: Tue, 8 Dec 2020 20:00:00 +0530 Subject: [PATCH] Alligned Section-1 in CSS --- css/stylesheet.css | 15 ++++++++------- index.html | 2 +- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/css/stylesheet.css b/css/stylesheet.css index eb31cf8..cdbb5a9 100644 --- a/css/stylesheet.css +++ b/css/stylesheet.css @@ -12,7 +12,7 @@ } body, html { - background-color: #F6F4EF; + background-color: #ffffff; height: 100%; margin: 0; width: 100%; @@ -27,13 +27,13 @@ .nav_bar { width: 100%; text-align: center; - background-color: floralwhite; + background-color: white; padding-bottom: 3%; } .main_header { text-align: center; - background-color: floralwhite; + background-color:white; padding: 2%; font-family: 'Old Standard TT', serif; color: #51442A; @@ -41,26 +41,27 @@ } a:link { - color: #F1DFBD; + color: #000000; text-decoration: none; } a:visited { - color: #F1DFBD; + color: #000000; text-decoration: none; } a:hover { - color: #614715; + color: #000000; text-decoration: overline; } a:active { - color: #614715; + color: #000000; text-decoration: none; } .section_1 { background-color: floralwhite; width: 45%; + height: 37%; float: left; text-align: left; margin: 1%; diff --git a/index.html b/index.html index c712170..f27bcf8 100644 --- a/index.html +++ b/index.html @@ -23,7 +23,7 @@

HTML and CSS practise for beginners

-
+

How to use this page

This page is completely open source, and the code and files are available for ALL to download. I, Carlie, created a mini website for anyone to practise on, change, adapt, edit and style