NAVIGATION
This shows you the differences between two versions of the page.
|
deutsch:templates:big-john-piefecta:2-spalten-variable-breite-rechts-variable-hoehe-v1 [2010/01/08 08:56] Knut Heermann (flip-flop) created |
deutsch:templates:big-john-piefecta:2-spalten-variable-breite-rechts-variable-hoehe-v1 [2018/06/03 18:08] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | {{indexmenu_n>70}} | + | {{indexmenu_n>300}} |
| ====== 2 Spalten, var. Breite rechts - V1 ====== | ====== 2 Spalten, var. Breite rechts - V1 ====== | ||
| + | |||
| + | |||
| + | **2 Spalten, variable Breite rechts, variable Höhe, horizontal gesamt, Mindestbreite, \\ Spalten eigener Hintergrund - Version 01** | ||
| + | |||
| + | **Gesamtbreite:** Fenstergröße //(min. 604px)// (**links:** 210px - **rechts:** float) | ||
| + | |||
| + | **Autor:** K.Heermann (flip-flop) http://planmatrix.de //2010/01/07 // \\ | ||
| + | **CMS-Version:** >= V1.2.8 \\ | ||
| + | **Version:** V1.0 //2010.01.07// \\ | ||
| + | **Update:** -- \\ | ||
| + | |||
| + | Basierend auf: [[http://www.brunildo.org/test/lf100r.html|2 columns layout (right fluid)]] Based on Big John's Piefecta | ||
| + | |||
| + | |||
| + | ===== Anforderung: ===== | ||
| + | |||
| + | * Content soll im Quelltext als erstes stehen | ||
| + | * Jede Spalte kann am längsten sein | ||
| + | * Jede Spalte kann mit einem vollflächigen Hintergrund gefüllt werden | ||
| + | * Header soll am obersten Rand des Viewport stehen | ||
| + | * Die Seite soll horizontal das gesamte Fenster ausfüllen | ||
| + | * Die rechte Spalte soll eine dynmaische Breite aufweisen //(mit Mindestbreite über beide Spalten)// | ||
| + | * Left und Right sollen optisch nebeneinander stehen | ||
| + | * CSS-Code soll konform sein! | ||
| + | |||
| + | {{:deutsch:templates:big-john-piefecta:2_column_left_fixed_right_fluid_brunildo_fe_1.gif?600|2 cols right fluid layout by Bruno Fassino}} | ||
| + | |||
| + | ~~UP~~ | ||
| + | |||
| + | ===== Seitenlayout ===== | ||
| + | |||
| + | {{:deutsch:templates:fixed_3_cols_layout_big_john_be2_1.gif|}} | ||
| + | |||
| + | |||
| + | ~~UP~~ | ||
| + | |||
| + | ===== Vorlage ===== | ||
| + | |||
| + | {{:deutsch:templates:big-john-piefecta:2_column_left_fixed_right_fluid_brunildo_be_1.gif|}} | ||
| + | |||
| + | ~~UP~~ | ||
| + | |||
| + | ==== <HTML> Kopf: ==== | ||
| + | |||
| + | **--> diesen Codeschnipsel in den <head> //(<HTML> Kopf:)// der Vorlage einstellen:** | ||
| + | |||
| + | <code html|h header/ Vorlage |h> | ||
| + | <!--[if lt IE 8]><style> | ||
| + | .outer, .wide, h2, .wrapper, .minwidth { | ||
| + | _height: 0; | ||
| + | zoom: 1; | ||
| + | } | ||
| + | /* rimuove complicazione per Gecko 1.7- */ | ||
| + | .left { | ||
| + | margin-right: 0; | ||
| + | } | ||
| + | </style><![endif]--> | ||
| + | <!--[if lt IE 7]><style> | ||
| + | .minwidth { | ||
| + | border-left: 604px solid #fff; | ||
| + | } | ||
| + | .wrapper { | ||
| + | margin-left: -604px; | ||
| + | position: relative; | ||
| + | } | ||
| + | </style><![endif]--> | ||
| + | </code> | ||
| + | |||
| + | \\ | ||
| + | |||
| + | ==== Haupt: ==== | ||
| + | |||
| + | **--> diesen Codeschnipsel in den Main-Teil //(Haupt:)// der Vorlage einstellen:** | ||
| + | |||
| + | <code html|h main/ Vorlage |h> | ||
| + | <div class="minwidth"><div class="wrapper"> | ||
| + | |||
| + | <div class="outer"> | ||
| + | |||
| + | <div class="center"><div class="incenter"> | ||
| + | {CONTENT}{SCROLLBAR1}{SCROLLBAR2} | ||
| + | </div></div> <!-- end center div --> | ||
| + | |||
| + | <div class="left"><div class="inleft"> | ||
| + | <div style="font-size:11px;" class="nav-list-ul"> | ||
| + | {NAV_LIST_UL:FPA,0,,act_path,active} | ||
| + | </div> | ||
| + | {LEFT} | ||
| + | </div></div> <!-- end left div --> | ||
| + | |||
| + | <br class="clear" /> | ||
| + | </div> <!-- end outer div --> | ||
| + | |||
| + | <div class="top"><div class="intop"> | ||
| + | <h1>2 cols layout left fixed, right fluid</h1> | ||
| + | {HEADER} | ||
| + | </div></div> | ||
| + | |||
| + | <div class="bottom"><div class="inbottom"> | ||
| + | {FOOTER} | ||
| + | </div></div> | ||
| + | |||
| + | </div></div><!-- end minwidth / wrapper div --> | ||
| + | </code> | ||
| + | |||
| + | \\ | ||
| + | |||
| + | ===== CSS ===== | ||
| + | |||
| + | {{:deutsch:templates:big-john-piefecta:2-cols-variable-width-right-variable-height-v1.gif|}} | ||
| + | |||
| + | ==== Template: ==== | ||
| + | |||
| + | |||
| + | **Datei:** template/inc_css/2_cols_layout_left_fixed_right_fluid.css | ||
| + | |||
| + | Width 100% (210px - float) | ||
| + | |||
| + | <code css |h 2_cols_layout_left_fixed_right_fluid.css|h> | ||
| + | |||
| + | /*********************************************** | ||
| + | * Left ixed right fluid 2 cols layout | ||
| + | * http://www.brunildo.org/test/lf100r.html | ||
| + | * Patched version by KH (flip-flop) 06.01.2010 | ||
| + | * Width 100% (210px - float) | ||
| + | ************************************************/ | ||
| + | |||
| + | body { | ||
| + | margin: 10px; | ||
| + | padding: 0; | ||
| + | color: #000; | ||
| + | background-color: #fff; | ||
| + | font-family: verdana, Georgia, serif; | ||
| + | font-size: 80%; | ||
| + | } | ||
| + | .clear { | ||
| + | clear: both; | ||
| + | } | ||
| + | .alignright { | ||
| + | text-align: right; | ||
| + | } | ||
| + | .wide { | ||
| + | background-color: #ffc; | ||
| + | } | ||
| + | .top { | ||
| + | border-bottom: 1px solid #000; | ||
| + | } | ||
| + | .bottom { | ||
| + | border-top: 1px solid #000; | ||
| + | padding-bottom: 1px; | ||
| + | } | ||
| + | .testfloat { | ||
| + | width: 50px; | ||
| + | border: 2px solid #f90; | ||
| + | background-color: #ffd; | ||
| + | font-size: .8em; | ||
| + | } | ||
| + | .to-right { | ||
| + | float: right; | ||
| + | } | ||
| + | .to-left { | ||
| + | float: left; | ||
| + | } | ||
| + | |||
| + | .wrapper { | ||
| + | background-color: #cce; | ||
| + | border: 1px solid #000; | ||
| + | } | ||
| + | .outer { | ||
| + | margin-left: 210px; /* 200px; /* L */ | ||
| + | border-left: 1px solid #000; | ||
| + | background-color: #e5e5e5; /* #fcd; right color */ | ||
| + | } | ||
| + | .center { | ||
| + | float: right; | ||
| + | width: 100%; | ||
| + | margin-left: -1px; | ||
| + | } | ||
| + | .left { | ||
| + | float: left; | ||
| + | position: relative; | ||
| + | width: 210px; /* 200px; /* L */ | ||
| + | margin-left: -211px; /* -201px; /* -L-1 */ | ||
| + | margin-right: 2px; | ||
| + | } | ||
| + | .minwidth { | ||
| + | min-width: 604px; | ||
| + | } | ||
| + | |||
| + | /* ---- + KH Content first (Header pos absolute */ | ||
| + | .top { | ||
| + | height: 70px; /* +KH Head height */ | ||
| + | width: 100%; /* 760px; */ | ||
| + | position: absolute; /* +KH */ | ||
| + | overflow: hidden; /* +KH */ | ||
| + | top: 0; /* +KH */ | ||
| + | left: 0; /* +KH */ | ||
| + | background-color: #ffc; | ||
| + | } | ||
| + | .intop { | ||
| + | padding: 5px; | ||
| + | } | ||
| + | .bottom { | ||
| + | border-top: 1px solid #000; | ||
| + | height: 40px; /* KH Footer height */ | ||
| + | background-color: #ecf; /* +KH */ | ||
| + | } | ||
| + | .inbottom { | ||
| + | padding: 5px; | ||
| + | } | ||
| + | .outer { | ||
| + | position: relative; | ||
| + | margin-top: 70px; /* +KH (place holder header) */ | ||
| + | } | ||
| + | .wrapper { | ||
| + | position: relative; /* +KH (content first) */ | ||
| + | } | ||
| + | .incenter { /* +KH */ | ||
| + | padding: 10px 0 10px 10px; | ||
| + | } | ||
| + | |||
| + | /* ------------------------ */ | ||
| + | |||
| + | |||
| + | /* previene allargamento floats (hidden) \*//*/ | ||
| + | * html .inleft, * html .incenter { | ||
| + | width: 100%; | ||
| + | overflow: hidden; | ||
| + | } | ||
| + | * html .center { | ||
| + | margin-left: 0; | ||
| + | } | ||
| + | * html .left { | ||
| + | margin-right: 1px; | ||
| + | } | ||
| + | * html .minwidth { | ||
| + | border-left: 604px solid #fff; | ||
| + | } | ||
| + | * html .wrapper { | ||
| + | margin-left: -604px; | ||
| + | } | ||
| + | /**/ | ||
| + | /* | ||
| + | .outer { | ||
| + | word-wrap: break-word; | ||
| + | } | ||
| + | */ | ||
| + | </code> | ||
| + | |||
| + | \\ | ||
| + | |||
| + | ==== Navigation (optional) ==== | ||
| + | |||
| + | **Datei:** template/inc_css/nav_list_ul.css | ||
| + | |||
| + | {{:deutsch:templates:big-john-piefecta:nav_list_ul_article.zip|NAV_LIST_UL + Article (>=r387)}} | ||
| + | |||
| + | |||
| + | Siehe auch [[deutsch:navigationen:nav_list_ul_parameter]]. | ||