{{indexmenu_n>300}} ====== 3 Spalten, variable Breite - V1 ====== **3 Spalten, variable Breite, variable Höhe, horizontal gesamt, Mindestbreite, \\ Spalten LINKS/RECHTS identischer Hintergrund - Version 01** **Gesamtbreite:** Fenstergröße (**links:** 210px - **mitte mindestens:** 565px - **rechts:** 200px) **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/lrfc.html|3 columns layout (central 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 mittlere Spalte soll eine dynmaische Breite aufweisen //(mit Mindestbreite)// * Left, Main und Right sollen optisch nebeneinander stehen * CSS-Code soll konform sein! {{:deutsch:templates:big-john-piefecta:3_cols_center_fluid_brunildo_fe_1.gif?600|3 cols center fluid layout by big john}} ~~UP~~ ===== Seitenlayout ===== {{:deutsch:templates:fixed_3_cols_layout_big_john_be2_1.gif|}} ~~UP~~ ===== Vorlage ===== {{:deutsch:templates:big-john-piefecta:3_cols_center_fluid_brunildo_be_1.gif|}} ~~UP~~ ==== Kopf: ==== **--> diesen Codeschnipsel in den //( Kopf:)// der Vorlage einstellen:** \\ ==== Haupt: ==== **--> diesen Codeschnipsel in den Main-Teil //(Haupt:)// der Vorlage einstellen:**
{CONTENT}
{LEFT}
{RIGHT}

3 cols layout, center fluid

Based on Big John's Piefecta, with min-width

{HEADER}
{FOOTER}
\\ ===== CSS ===== {{:deutsch:templates:big-john-piefecta:3-cols-variable-width-variable-height-v1.gif|}} ==== Template: ==== **Datei:** template/inc_css/fixed_3_cols_center_fluid_brunildo.css Width 100% (210px - min. 565px - 200px) /*********************************************** * 3 cols center fluid layout * http://www.brunildo.org/test/lrfc.html * Patched version by KH (flip-flop) 07.01.2010 * Width window (210px - min-width - 200px) ************************************************/ * 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; /* 170px; /* L */ margin-right: 200px; /* 160px; /* R */ border-left: 1px solid #000; border-right: 1px solid #000; background-color: #e5e5e5; /* #fcd; /* center */ } .wrap-cl { float: left; width: 100%; margin-right: -1px; } .center { float: right; width: 100%; margin-left: -1px; } .left { float: left; position: relative; width: 210px; /* 170px; /* L */ margin-left: -211px; /* -171px; /* -L-1 */ margin-right: 2px; } .right { float: right; position: relative; width: 200px; /* 160px; /* R */ margin-right: -201px; /* -161px; /* -R-1 */ margin-left: 2px; } .minwidth { min-width: 564px; } /* ---- + 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) e problemi rendering left col (relative) in IE/Mac \*//*/ * html .inleft, * html .inright, * html .incenter { width: 100%; overflow: hidden; } * html .wrap-cl { position: relative; margin-right: 0; } * html .center { margin-left: 0; } * html .left { margin-right: 1px; } * html .right { margin-left: 1px; } * html .minwidth { border-left: 504px solid #fff; } * html .wrapper { margin-left: -504px; } /**/ .outer { word-wrap: break-word; } \\ ==== 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]].