From dc25899e27deddaca4c19e66ba08bbd8017ee8e1 Mon Sep 17 00:00:00 2001 From: sharafmo <74990016+sharafmo@users.noreply.github.com> Date: Sat, 5 Dec 2020 22:56:34 -0800 Subject: [PATCH] Update style.css --- style.css | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/style.css b/style.css index 7179b9d..76abc42 100644 --- a/style.css +++ b/style.css @@ -1,35 +1,38 @@ /*CSS reset settings here*/ -*{ +*{ margin: 0px; padding: 0px; } #wrapper{ - width: 950px; - background-color: silver; - margin: 0px auto; + width: 950px; + background-color: silver; padding:20px + + } #header{ min-height: 150px; - background-color: green; + background-color: green; margin-bottom: 20px } #navigation{ min-height: 300px; width: 200px; background-color: blue; + display: inline-block; } #main_content{ min-height: 400px; - width: 700px; - background-color: red; + width: 725px; background-color: red; + display: inline-block; vertical-align: top;margin-left: 20px; } .subcontents{ min-height: 200px; width: 210px; - background-color: yellow; + background-color: yellow;margin: 20px -10px 20px 20px; + display:inline-block; } #advertisement{ min-height: 120px; width: 660px; - background-color: purple; + background-color: purple; float: right;margin-right:45px; } - \ No newline at end of file +