From 95de57a6a6162272ea49fedd6d54d747e533eb7f Mon Sep 17 00:00:00 2001 From: Andy Date: Sat, 12 Sep 2020 15:14:05 +0200 Subject: [PATCH] nav --- css/style.css | 21 +++++++++++++++++---- index.html | 8 +++++++- 2 files changed, 24 insertions(+), 5 deletions(-) diff --git a/css/style.css b/css/style.css index 3677d09..dc51bdb 100644 --- a/css/style.css +++ b/css/style.css @@ -12,10 +12,6 @@ header, footer{ background: silver; clear: both; /* stopt das floating */ } -nav{ - height: 30px; - background: tomato; -} #hauptbereich, #seitenbereich{ min-height: 500px; background: #acacac; @@ -27,4 +23,21 @@ nav{ #seitenbereich{ width: 30%; float: right; +} +/*navigation*/ +nav { + margin: 20px 0; +} +nav ul{ + margin: 0; + padding: 0; + list-style-type: none; +} +nav li{ + display: inline; +} +nav li a{ + margin: 0 20px 0 0; + text-decoration: none; + padding: 10px 8px; } \ No newline at end of file diff --git a/index.html b/index.html index d295efb..1f4e6f0 100644 --- a/index.html +++ b/index.html @@ -14,7 +14,13 @@ Logo der Webseite

da ist der Hauptbereich