{"id":1540,"date":"2024-07-22T08:00:00","date_gmt":"2024-07-22T06:00:00","guid":{"rendered":"https:\/\/www.fuhselab.de\/?p=1540"},"modified":"2025-05-27T13:54:18","modified_gmt":"2025-05-27T11:54:18","slug":"webdesign-centerboxed-2-version-4","status":"publish","type":"post","link":"https:\/\/www.fuhselab.de\/index.php\/2024\/07\/22\/webdesign-centerboxed-2-version-4\/","title":{"rendered":"Centerboxed 2 Version 4"},"content":{"rendered":"\n<p>Das zweispaltige Centerboxed Layout bekommt nun einen vertikalen Klick-Dropdown\u2026<\/p>\n\n\n\n<!--more-->\n\n\n\n<p><strong>Vorbereitungen:<\/strong><\/p>\n\n\n\n<p>In einem ersten Schritt erstellen wir eine einfache Textdatei und nennen sie \u201cindex.html\u201c. In einem zweiten Schritt erstellen wir den Ordner \u201c01_CSS\u201c und darin erstellen wir acht CSS Dateien. Die erste Datei nennen wir \u201c01_zentrale.css\u201c und die restlichen Dateien nennen wir so wie in der zentralen CSS Datei angegeben.<\/p>\n\n\n\n<p><strong>Der HTML Quelltext:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;!doctype html&gt;\n&lt;html lang=\"de\"&gt;\n\n&lt;head&gt;\n &lt;title&gt;Webdesign Workshop&lt;\/title&gt;\n &lt;link rel=\"stylesheet\" href=\"01_CSS\/01_zentrale.css\" type=\"text\/css\" \/&gt;\n&lt;\/head&gt;\n\n&lt;body&gt;\n\n&lt;div id=\"wrapper\"&gt; \n\n&lt;header&gt; \n&lt;\/header&gt; \n\n&lt;nav&gt;\n\n&lt;ul&gt; \n   &lt;li&gt;&lt;a href=\"index.html\"&gt;Startseite&lt;\/a&gt;&lt;\/li&gt; \n   &lt;li&gt;&lt;a href=\"archiv.html\"&gt;Archiv&lt;\/a&gt;&lt;\/li&gt; \n   &lt;li&gt;&lt;a href=\"impressum.html\"&gt;Impressum&lt;\/a&gt;&lt;\/li&gt; \n&lt;\/ul&gt; \n\n&lt;br \/&gt;\n\n&lt;article&gt;\n&lt;h1&gt;Update:&lt;\/h1&gt;\n&lt;p&gt;\nPlatzhalter f\u00fcr Inhalt\n&lt;\/p&gt;\n&lt;\/article&gt;\n&lt;br \/&gt;\n\n&lt;article&gt;\n&lt;h1&gt;Centerbox 2 V4:&lt;\/h1&gt;\n&lt;p&gt;\n&lt;\/p&gt;\n&lt;\/article&gt;\n&lt;br \/&gt;\n\n&lt;\/nav&gt; \n\n\n&lt;main&gt; \n\n&lt;article&gt;\n&lt;h1&gt;Centerboxed 2 Version 4 mit Klick Dropdown vertikal:&lt;\/h1&gt;\n&lt;p&gt;\nArtikeltext einf\u00fcgen...\n&lt;\/p&gt;\n&lt;\/article&gt;\n&lt;br \/&gt;\n\n&lt;\/main&gt; \n\n&lt;\/div&gt; \n&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\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_navigation.css);\n@import url(07_textbereich.css);\n@import url(08_artikel.css);<\/code><\/pre>\n\n\n\n<p><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\n* {\npadding: 0;\nmargin: 0;\n}\n\nhtml {\nheight: 101%;\n}\n\n} \/* Ende von @media nicht l\u00f6schen*\/<\/code><\/pre>\n\n\n\n<p><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 {\n\nbody {\ncolor: black;\nbackground-color: white;\nfont-family: Arial, Verdana, Helvetica, sans-serif;\n}\n} \/* Ende von @media nicht l\u00f6schen*\/<\/code><\/pre>\n\n\n\n<p><strong>Der CSS Code f\u00fcr die Datei \u201c04_wrapper.css\u201c:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#wrapper {\nposition: relative;\nmargin-top: 10px;\nmargin-right: auto;\nmargin-bottom: 10px;\nmargin-left: auto;\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\nbackground-color: wheat; \nwidth: 900px;\n}\n<\/code><\/pre>\n\n\n\n<p><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 {\n\nheader {\nheight: 80px;\nbackground: url(sbheader2.jpg);\ncolor: white;\nbackground-color: goldenrod;\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><strong>Der CSS Code f\u00fcr die Datei \u201c06_navigation.css\u201c:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>@media all {\nnav {\nposition: absolute;\ntop: 107px;\nleft: 5px;\nwidth: 210px;\nbackground-color: goldenrod;\n\nmargin-top: 0px;\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\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;\npadding: 3px;\n}\n\nnav a:hover {\nbackground-color: chocolate;\ncolor: white;\ndisplay: block;\ntext-decoration: none;\npadding: 3px;\n}\n\nnav a:focus {\ncolor: black;\nbackground-color: wheat;\ndisplay: block;\ntext-decoration: none;\npadding: 3px;\n}\n\nnav a:active {\ncolor: black;\nbackground-color: white;\ndisplay: block;\ntext-decoration: none;\npadding: 3px;\n}\n\nh1 {\nfont-size: 140%;\n}\n\nh2 {\nfont-size: 130%;\n}\n\nh3 {\nfont-size: 110%;\n}\n\nh4 {\nfont-size: 100%;\n}\n\nh5 {\nfont-size: 90%;\n}\n\nh6 {\nfont-size: 80%;\n}\n} \/* Ende von @media nicht l\u00f6schen*\/<\/code><\/pre>\n\n\n\n<p><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 {\n\nmain {\nbackground-color: goldenrod;\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\n#formular fieldset {\npadding: 10px;\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><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 {\n\narticle {\noverflow: hidden;\ncolor: black;\nbackground-color: wheat;\npadding: 5px;\nborder-style: solid;\nborder-color: black;\nborder-width: 1px;\n}\n \n\n.clearingtext {\nclear: both;\nbackground-color: wheat;\n}\n\n\n\n.bildlinks {\nfloat: left;\nmargin-top: 5px;\nmargin-right: 15px;\nmargin-bottom: 5px;\nborder-style: solid;\nborder-width: 1px;\n}\n\n.bildrechts {\nfloat: right;\nmargin-top: 5px;\nmargin-right: 15px;\nmargin-bottom: 5px;\nborder-style: solid;\nborder-width: 1px;\n}\n\nh1 {\nfont-size: 140%;\n}\n\nh2 {\nfont-size: 130%;\n}\n\nh3 {\nfont-size: 110%;\n}\n\nh4 {\nfont-size: 100%;\n}\n\nh5 {\nfont-size: 90%;\n}\n\nh6 {\nfont-size: 80%;\n}\n} \/* Ende von @media nicht l\u00f6schen*\/\n<\/code><\/pre>\n\n\n\n<p><strong>Webdesign Gruppe Peine:<\/strong><\/p>\n\n\n\n<p>Wer sich f\u00fcr HTML, CSS und PHP und alle anderen Webtechnologien interessiert, ist in der Webdesign-Gruppe-Peine genau richtig. Wenn Du Lust hast mitzumachen, dann melde dich einfach beim Fuhselab.<\/p>\n\n\n\n<p>Weitere interessante Webartikel zum Thema Webdesign gibt es auf der <a href=\"https:\/\/www.fuhselab.de\/index.php\/category\/webdesign\/\">Fuhselab<\/a> Webseite und in der <a href=\"https:\/\/www.fuhselab.de\/index.php\/2023\/08\/24\/fuhselab-artikeluebersicht\/\">Artikel\u00fcbersicht 2022<\/a> und der <a href=\"https:\/\/www.fuhselab.de\/index.php\/2023\/12\/19\/artikeluebersicht-2023\/\">Artikel\u00fcbersicht 2023<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>58<\/td><td><a href=\"https:\/\/www.fuhselab.de\/index.php\/2024\/01\/15\/flex-2-version-1\/\">Webdesign Flex 2 Version 1<\/a><\/td><td>15.01.2024<\/td><\/tr><tr><td>59<\/td><td><a href=\"https:\/\/www.fuhselab.de\/index.php\/2024\/01\/29\/flex-2-version-2\/\">Webdesign Flex 2 Version 2<\/a><\/td><td>29.01.2024<\/td><\/tr><tr><td>60<\/td><td><a href=\"https:\/\/www.fuhselab.de\/index.php\/2024\/02\/12\/flex-2-version-3\/\">Webdesign Flex 2 Version 3<\/a><\/td><td>12.02.2024<\/td><\/tr><tr><td>61<\/td><td><a href=\"https:\/\/www.fuhselab.de\/index.php\/2024\/02\/26\/flex-2-version-4\/\">Webdesign Flex 2 Version 4<\/a><\/td><td>26.02.2024<\/td><\/tr><tr><td>62<\/td><td><a href=\"https:\/\/www.fuhselab.de\/index.php\/2024\/03\/04\/flex-2-version-5\/\">Webdesign Flex 2 Version 5<\/a><\/td><td>04.03.2024<\/td><\/tr><tr><td>63<\/td><td><a href=\"https:\/\/www.fuhselab.de\/index.php\/2024\/04\/08\/webdesign-artikeluebersicht-2\/\">Webdesign Artikel\u00fcbersicht<\/a><\/td><td>08.04.2024<\/td><\/tr><tr><td>64<\/td><td><a href=\"https:\/\/www.fuhselab.de\/index.php\/2024\/04\/22\/flex-2-version-6\/\">Webdesign <\/a><a href=\"https:\/\/www.fuhselab.de\/index.php\/2024\/04\/22\/flex-2-version-6\/\">Flex 2 Version 6<\/a><\/td><td>22.04.2024<\/td><\/tr><tr><td>65<\/td><td><a href=\"https:\/\/www.fuhselab.de\/index.php\/2024\/05\/06\/flex-2-version-7\/\">Webdesign Flex 2 Version 7<\/a><\/td><td>06.05.2024<\/td><\/tr><tr><td>66<\/td><td><a href=\"https:\/\/www.fuhselab.de\/index.php\/2024\/05\/13\/flex-3-version-1\/\">Webdesign Flex 3 Version 1<\/a><\/td><td>13.05.2024<\/td><\/tr><tr><td>67<\/td><td><a href=\"https:\/\/www.fuhselab.de\/index.php\/2024\/05\/20\/flex-3-version-2\/\">Webdesign Flex 3 Version 2<\/a><\/td><td>20.05.2024<\/td><\/tr><tr><td>68<\/td><td><a href=\"https:\/\/www.fuhselab.de\/index.php\/2024\/05\/27\/flex-3-version-3\/\">Webdesign Flex 3 Version 3<\/a><\/td><td>27.05.2024<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Das zweispaltige Centerboxed Layout bekommt nun einen vertikalen Klick-Dropdown\u2026<\/p>\n","protected":false},"author":1,"featured_media":545,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[23],"class_list":["post-1540","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\/1540","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=1540"}],"version-history":[{"count":3,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/posts\/1540\/revisions"}],"predecessor-version":[{"id":2813,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/posts\/1540\/revisions\/2813"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/media\/545"}],"wp:attachment":[{"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/media?parent=1540"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/categories?post=1540"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/tags?post=1540"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}