{"id":1615,"date":"2024-08-26T08:00:00","date_gmt":"2024-08-26T06:00:00","guid":{"rendered":"https:\/\/www.fuhselab.de\/?p=1615"},"modified":"2025-05-28T06:56:38","modified_gmt":"2025-05-28T04:56:38","slug":"centerboxed-3-version-2","status":"publish","type":"post","link":"https:\/\/www.fuhselab.de\/index.php\/2024\/08\/26\/centerboxed-3-version-2\/","title":{"rendered":"Centerboxed 3 Version 2"},"content":{"rendered":"\n<p><br>Centerboxed 3 bekommt jetzt eine Tab-Navigation und so entsteht Version 2 eines zentrierten, dreispaltigen Layouts\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 neun CSS Dateien. Die erste Datei nennen wir \u201c01_zentrale.css\u201c und die restlichen Dateien nennen wir so wie in der zentralen CSS Datei und in diesem Artikel angegeben.<\/p>\n\n\n\n<p><strong>Wie w\u00e4re es mit Copy and Paste?<\/strong><\/p>\n\n\n\n<p>Wir k\u00f6nnen es uns aber auch einfach machen und kopieren einfach die gesamte Version 1 und \u00e4ndern nur die CSS Datei f\u00fcr die Navigation.<\/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;\t\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;Gesamt\u00fcbersicht&lt;\/a&gt;&lt;\/li&gt;\n   &lt;li&gt;&lt;a href=\"index.html\"&gt;Startseite&lt;\/a&gt;&lt;\/li&gt;\n&lt;\/ul&gt;\n\n&lt;\/nav&gt;\n\n&lt;main&gt;\n\n&lt;article&gt;\n&lt;h1&gt;Centerboxed 3 Version 2:&lt;\/h1&gt;\n&lt;p&gt;\nWillkommen auf der Webseite f\u00fcr Centerboxed 3 Version 2.\n&lt;\/p&gt;\n&lt;\/article&gt;\n&lt;br \/&gt;\n\n&lt;\/main&gt; \n\n&lt;div id=\"spalte3\"&gt;\n\n&lt;article&gt;\n&lt;h1&gt;Update:&lt;\/h1&gt;\n&lt;p&gt;\nDatum\n&lt;\/p&gt;\n&lt;\/article&gt;\n&lt;br \/&gt;\n\n&lt;\/div&gt;\n&lt;\/div&gt; &lt;!-- Ende vom wrapper-Bereich --&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<p><br><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 {\n\nnav {\nposition: absolute;\n\nwidth: 210px;\nbackground-color: goldenrod;\ncolor: white;\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\nfont-family: Arial;\nfont-size: smaller;\n}\n\nnav li {\nlist-style-type: none;\ndisplay: block;\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} \/* 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 Artikel zum Thema Webdesign gibt es auf der <a href=\"https:\/\/www.fuhselab.de\/index.php\/category\/webdesign\/\">Fuhselab<\/a> Webseite.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Centerboxed 3 bekommt jetzt eine Tab-Navigation und so entsteht Version 2 eines zentrierten, dreispaltigen Layouts\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-1615","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\/1615","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=1615"}],"version-history":[{"count":3,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/posts\/1615\/revisions"}],"predecessor-version":[{"id":2833,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/posts\/1615\/revisions\/2833"}],"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=1615"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/categories?post=1615"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/tags?post=1615"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}