{"id":3030,"date":"2026-03-16T08:00:00","date_gmt":"2026-03-16T07:00:00","guid":{"rendered":"https:\/\/www.fuhselab.de\/?p=3030"},"modified":"2026-03-11T09:02:21","modified_gmt":"2026-03-11T08:02:21","slug":"responsives-webdesign-3-2","status":"publish","type":"post","link":"https:\/\/www.fuhselab.de\/index.php\/2026\/03\/16\/responsives-webdesign-3-2\/","title":{"rendered":"Responsives Webdesign 3"},"content":{"rendered":"\n<p><br>Die zwei bereits erstellten Responsiven Webdesigns sollen jetzt weiter bearbeitet werden\u2026<\/p>\n\n\n\n<!--more-->\n\n\n\n<p><strong>Responsives Webdesign Version 3:<\/strong><\/p>\n\n\n\n<p>Probleme gab es in den ersten beiden Versionen nur noch mit der Navigation die sich \u00fcber den Textbereich geschoben hatte. Hier gibt es nun den ersten L\u00f6sungsversuch dazu\u2026<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;!DOCTYPE html> \n&lt;html lang=\"de\">\n\n&lt;head> \n   &lt;title>Webdesign Workshop&lt;\/title>\n   &lt;link rel=\"stylesheet\" href=\"01_CSS\/01_zentrale.css\" type=\"text\/css\" \/>\n   &lt;link rel=\"stylesheet\" href=\"01_CSS\/600.css\" media=\"screen and (max-width: 600px)\">\n   &lt;link rel=\"stylesheet\" href=\"01_CSS\/galaxy.css\" media=\"screen and (min-width: 360px) and (max-width: 360px) and (min-height: 740px) and (max-height: 740px)\">\n   &lt;meta charset=\"UTF-8\">\n&lt;\/head> \n\n&lt;body>\n\n&lt;div id=\"wrapper\"> \n&lt;header> \n&lt;nav2>\n\n&lt;ul>\n   &lt;li>&lt;a href=\"index.html\">Navigation&lt;\/a>\n&lt;ul>\n   &lt;li>&lt;a href=\"001.html\">Seite 1&lt;\/a>&lt;\/li> \n   &lt;li>&lt;a href=\"002.html\">Seite 2&lt;\/a>&lt;\/li> \n   &lt;li>&lt;a href=\"003.html\">Seite 3&lt;\/a>&lt;\/li> \n   &lt;li>&lt;a href=\"004.html\">Seite 4&lt;\/a>&lt;\/li> \n&lt;\/ul> \n\n&lt;\/li>\n&lt;\/ul>\n\n&lt;\/nav2> \n&lt;\/header> &lt;!-- Ende vom header-Element -->\n\n&lt;nav> \n\n&lt;ul>\n   &lt;li>&lt;a href=\"index.html\">Startseite 1&lt;\/a>&lt;\/li>\n   &lt;li>&lt;a href=\"index.html\">Startseite 2&lt;\/a>&lt;\/li>\n   &lt;li>&lt;a href=\"index.html\">Startseite 3&lt;\/a>&lt;\/li>\n   &lt;li>&lt;a href=\"index.html\">Startseite 4&lt;\/a>&lt;\/li>\n&lt;\/ul>\n\n&lt;\/nav> &lt;!-- Ende vom nav-Element  -->\n\n&lt;main> \n\n&lt;article>\n&lt;h1>Responsiv Version 3:&lt;\/h1>\n&lt;p>\nDas Layout \u201cResponsiv Version 1\u201c ist schon responsiv und bekommt einen roten Hintergrund und einen gr\u00fcnen Kopfbereich. Nur die Navigation schiebt sich \u00fcber den Textbereich.\n&lt;\/p>\n&lt;\/article>\n&lt;br \/>\n\n&lt;article>\n&lt;h1>L\u00f6sungsversuch 1 f\u00fcr die Navigation:&lt;\/h1>\n&lt;p>\nDie Idee besteht darin, die normale Navigation auszublenden und eine Dropdown-Navigation im header-Bereich einzubauen...\n&lt;br \/>&lt;br \/>\n\n&lt;\/p>\n&lt;\/article>\n&lt;br \/>\n\n&lt;\/main> &lt;!-- Ende vom main-Element -->\n\n&lt;footer> &lt;!-- Anfang vom footer-Element -->\n&lt;\/footer> &lt;!-- Ende vom footer-Element -->\n\n&lt;\/div> &lt;!-- Ende vom wrapper-Bereich -->\n&lt;\/body>\n&lt;\/html><\/code><\/pre>\n\n\n\n<p>Das war jetzt der HTML Quelltext f\u00fcr die Datei \u201cindex.html\u201c und nun fehlen nur noch die CSS-Dateien und die packen wir in den Ordner \u201c01_CSS\u201c.<\/p>\n\n\n\n<p><strong>Der CSS Code f\u00fcr die Datei \u201c01_zentrale.css\u201c:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>@import url(02_fundament.css);\n@import url(03_body.css);\n@import url(04_wrapper.css);\n@import url(05_kopfbereich.css);\n@import url(06_navibereich.css);\n@import url(07_textbereich.css);\n@import url(08_artikel.css);<\/code><\/pre>\n\n\n\n<p><br><strong>Der CSS Code f\u00fcr die Datei \u201c02_fundament.css\u201c:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>@media all {\n* {\npadding: 0;\nmargin: 0;\n}\n\nhtml {\nheight: 101%;\n}\n} \/* Ende von @media nicht l\u00f6schen*\/<\/code><\/pre>\n\n\n\n<p><br><strong>Der CSS Code f\u00fcr die Datei \u201c03_body.css\u201c:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>@media all {\nbody {\nbackground-color: white;\ncolor: black;\n}\n} \/* Ende von @media nicht l\u00f6schen*\/<\/code><\/pre>\n\n\n\n<p><br><strong>Der CSS Code f\u00fcr die Datei \u201c04_wrapper.css\u201c:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>@media all {\n#wrapper {\nmargin: 5px;\nbackground-color: white;\ncolor: black;\n}\n} \/* Ende von @media nicht l\u00f6schen*\/<\/code><\/pre>\n\n\n\n<p><br><strong>Der CSS Code f\u00fcr die Datei \u201c05_kopfbereich.css\u201c:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>@media all {\nheader {\nheight: 80px;\nbackground-image: url(..\/cpm-header01.jpg);\nbackground-repeat: no-repeat;\nbackground-color: steelblue;\ncolor: white;\n\nmargin-top: 5px;\nmargin-right: 5px;\nmargin-bottom: 5px;\nmargin-left: 5px;\n\nborder-top-width: 1px;\nborder-right-width: 1px;\nborder-bottom-width: 1px; \nborder-left-width: 1px;\n\nborder-top-style: solid;\nborder-right-style: solid;\nborder-bottom-style: solid;\nborder-left-style: solid;\n\nborder-top-color: black;\nborder-right-color: black;\nborder-bottom-color: black;\nborder-left-color: black;\n\npadding-top: 5px;\npadding-right: 5px;\npadding-bottom: 5px;\npadding-left: 5px;\n}\n} \/* Ende von @media nicht l\u00f6schen*\/<\/code><\/pre>\n\n\n\n<p><br><strong>Der CSS Code f\u00fcr die Datei \u201c06_navibereich.css\u201c:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>@media all {\nnav {\nposition: absolute;\ntop: 97px;\nleft: 5px;\nwidth: 210px;\nbackground-color: steelblue;\ncolor: white;\n\nmargin-top: 5px;\nmargin-right: 5px;\nmargin-bottom: 5px;\nmargin-left: 5px;\n\nborder-top-width: 1px;\nborder-right-width: 1px;\nborder-bottom-width: 1px; \nborder-left-width: 1px;\n\nborder-top-style: solid;\nborder-right-style: solid;\nborder-bottom-style: solid;\nborder-left-style: solid;\n\nborder-top-color: black;\nborder-right-color: black;\nborder-bottom-color: black;\nborder-left-color: black;\n\npadding-top: 10px;\npadding-right: 10px;\npadding-bottom: 10px;\npadding-left: 10px;\n\nfont-family: Arial;\nfont-size: smaller;\n}\n\nnav li {\ndisplay: block;\nlist-style-type: none;\npadding: 3px;\n}\n\nnav a:link {\ncolor: black;\nbackground-color: white;\ndisplay: block;\ntext-decoration: none;\npadding: 3px;\n}\n\nnav a:visited {\ncolor: black;\nbackground-color: white;\ndisplay: block;\ntext-decoration: none;\n}\n\nnav a:hover {\nbackground-color: red;\ncolor: black;\ndisplay: block;\ntext-decoration: none;\n}\n\nnav a:focus {\ncolor: black;\nbackground-color: white;\ndisplay: block;\ntext-decoration: none;\n}\n\nnav a:active {\ncolor: black;\nbackground-color: white;\ndisplay: block;\ntext-decoration: none;\n}\n\nnav2 {\nposition: absolute;\nleft: -9999px;\ntop: -9999px;\n}\n} \/* Ende von @media nicht l\u00f6schen*\/<\/code><\/pre>\n\n\n\n<p><br><strong>Der CSS Code f\u00fcr die Datei \u201c07_textbereich.css\u201c:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>@media all {\nmain {\nbackground-color: steelblue;\ncolor: white;\n\nmargin-top: 3px;\nmargin-right: 5px;\nmargin-bottom:5px;\nmargin-left: 241px;\n\nborder-top-width: 1px;\nborder-right-width: 1px;\nborder-bottom-width: 1px; \nborder-left-width: 1px;\n\nborder-top-style: solid;\nborder-right-style: solid;\nborder-bottom-style: solid;\nborder-left-style: solid;\n\nborder-top-color: black;\nborder-right-color: black;\nborder-bottom-color: black;\nborder-left-color: black;\n\npadding-top: 20px;\npadding-right: 20px;\npadding-bottom: 20px;\npadding-left: 20px;\n\nfont-family: Arial;\nfont-size: smaller;\n}\n\nmain a:link {\ncolor: white;\nbackground-color: steelblue;\ntext-decoration: underline;\n}\n\nmain a:visited {\ncolor: white;\nbackground-color: steelblue;\ntext-decoration: underline;\n}\n\nmain a:hover {\ncolor: black;\nbackground-color: white;\ntext-decoration: underline;\n}\n\nmain a:focus {\ncolor: white;\nbackground-color: steelblue;\ntext-decoration: underline;\n}\n\nmain a:active {\ncolor: white;\nbackground-color: steelblue;\ntext-decoration: underline;\n}\n} \/* Ende von @media nicht l\u00f6schen*\/<\/code><\/pre>\n\n\n\n<p><br><strong>Der CSS Code f\u00fcr die Datei \u201c08_artikel.css\u201c:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>@media all {\narticle {\noverflow: hidden;\ncolor: black;\nbackground-color: lightsteelblue;\npadding: 5px;\nborder-style: solid;\nborder-color: black;\nborder-width: 1px;\n}\n\n.clearingtext {\nclear: both;\nbackground-color: lightsteelblue;\n}\n\n.bildlinks {\nfloat: left;\nmargin-top: 5px;\nmargin-right: 15px;\nmargin-bottom: 5px;\nmargin-left: 0px;\n\nborder-top-width: 1px;\nborder-right-width: 1px;\nborder-bottom-width: 1px; \nborder-left-width: 1px;\n\nborder-top-style: solid;\nborder-right-style: solid;\nborder-bottom-style: solid;\nborder-left-style: solid;\n\nborder-top-color: black;\nborder-right-color: black;\nborder-bottom-color: black;\nborder-left-color: black;\n}\n\n.bildrechts {\nfloat: right;\nmargin-top: 5px;\nmargin-left: 15px;\nmargin-bottom: 5px;\nborder-style: solid;\nborder-width: 1px;\n}\n} \/* Ende von @media nicht l\u00f6schen*\/<\/code><\/pre>\n\n\n\n<p><br><strong>Der CSS Code f\u00fcr die Datei \u201c600.css\u201c:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>body {\nbackground-color: white;\ncolor: black;\n}\n\nheader {\nbackground-color: steelblue;\n}\n\nnav {\nposition: absolute;\nleft: -9999px;\ntop: -9999px;\n\nwidth: 210px;\nbackground-color: steelblue;\ncolor: white;\n\nmargin-top: 5px;\nmargin-right: 5px;\nmargin-bottom: 5px;\nmargin-left: 5px;\n\nborder-top-width: 1px;\nborder-right-width: 1px;\nborder-bottom-width: 1px; \nborder-left-width: 1px;\n\nborder-top-style: solid;\nborder-right-style: solid;\nborder-bottom-style: solid;\nborder-left-style: solid;\n\nborder-top-color: black;\nborder-right-color: black;\nborder-bottom-color: black;\nborder-left-color: black;\n\npadding-top: 10px;\npadding-right: 10px;\npadding-bottom: 10px;\npadding-left: 10px;\n\nfont-family: Arial;\nfont-size: smaller;\n}\n\nnav li {\ndisplay: block;\nlist-style-type: none;\npadding: 3px;\n}\n\nnav a:link {\ncolor: black;\nbackground-color: white;\ndisplay: block;\ntext-decoration: none;\npadding: 3px;\n}\n\nnav a:visited {\ncolor: black;\nbackground-color: white;\ndisplay: block;\ntext-decoration: none;\n}\n\nnav a:hover {\nbackground-color: red;\ncolor: black;\ndisplay: block;\ntext-decoration: none;\n}\n\nnav a:focus {\ncolor: black;\nbackground-color: white;\ndisplay: block;\ntext-decoration: none;\n}\n\nnav a:active {\ncolor: black;\nbackground-color: white;\ndisplay: block;\ntext-decoration: none;\n}\n\nmain {\n\nbackground-color: steelblue;\ncolor: white;\n\nmargin-top: 3px;\nmargin-right: 5px;\nmargin-bottom:5px;\nmargin-left: 5px; \/*war 241*\/\n\nborder-top-width: 1px;\nborder-right-width: 1px;\nborder-bottom-width: 1px; \nborder-left-width: 1px;\n\nborder-top-style: solid;\nborder-right-style: solid;\nborder-bottom-style: solid;\nborder-left-style: solid;\n\nborder-top-color: black;\nborder-right-color: black;\nborder-bottom-color: black;\nborder-left-color: black;\n\npadding-top: 20px;\npadding-right: 20px;\npadding-bottom: 20px;\npadding-left: 20px;\n\nfont-family: Arial;\nfont-size: smaller;\n}\n\n\nmain a:link {\ncolor: white;\nbackground-color: steelblue;\ntext-decoration: underline;\n}\n\nmain a:visited {\ncolor: white;\nbackground-color: steelblue;\ntext-decoration: underline;\n}\n\nmain a:hover {\ncolor: black;\nbackground-color: white;\ntext-decoration: underline;\n}\n\nmain a:focus {\ncolor: white;\nbackground-color: steelblue;\ntext-decoration: underline;\n}\n\nmain a:active {\ncolor: white;\nbackground-color: steelblue;\ntext-decoration: underline;\n}\n\nnav2{\nposition: absolute;\ntop: 10px;\nleft: 20px;\n}\n\nnav2 li {\ndisplay: block;\nlist-style-type: none;\npadding: 3px;\n}\n\nnav2 li ul {\nposition: absolute;\nleft: -9999px;\ntop: -9999px;\n}\n\nnav2 li:hover ul {\nleft: 10px;\ntop: auto;\ndisplay: block;\nwidth: 210px;\nheight: auto;\n\n}\n\nnav2 a:link {\ncolor: black;\nbackground-color: white;\ndisplay: block;\ntext-decoration: none;\npadding: 3px;\n}\n\nnav2 a:visited {\ncolor: black;\nbackground-color: white;\ndisplay: block;\ntext-decoration: none;\n}\n\nnav2 a:hover {\nbackground-color: red;\ncolor: black;\ndisplay: block;\ntext-decoration: none;\n}\n\nnav2 a:focus {\ncolor: black;\nbackground-color: white;\ndisplay: block;\ntext-decoration: none;\n}\n\nnav2 a:active {\ncolor: black;\nbackground-color: white;\ndisplay: block;\ntext-decoration: none;\n}<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Die zwei bereits erstellten Responsiven Webdesigns sollen jetzt weiter bearbeitet werden\u2026<\/p>\n","protected":false},"author":1,"featured_media":53,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[23],"class_list":["post-3030","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-webdesign","tag-webdesign-gruppe-peine"],"_links":{"self":[{"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/posts\/3030","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/comments?post=3030"}],"version-history":[{"count":1,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/posts\/3030\/revisions"}],"predecessor-version":[{"id":3031,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/posts\/3030\/revisions\/3031"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/media\/53"}],"wp:attachment":[{"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/media?parent=3030"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/categories?post=3030"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/tags?post=3030"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}