Gemeinsam sind wir stärker! Die aktion ./. arbeitsunrecht unterstützt Beschäftigte, Betriebsräte und Gewerkschafter:innen gegen Union Busting. Unsere Arbeit wirkt. ► Wirken Sie mit!
► Werden Sie jetzt Fördermitglied!
Vorlage:2 Spalten: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(Die Seite wurde neu angelegt: „<includeonly><div class="twocol" style="width:{{#if:{{{width1|}}}|{{{width1}}}|{{#if:{{{width2|}}}|calc( 98% - {{{width2}}}) |49%}}}};">{{{1}}}</div> <div clas…“) |
|||
| Zeile 9: | Zeile 9: | ||
<pre>{{2Spalten|Inhalt Spalte 1|Inhalt Spalte 2}}</pre> | <pre>{{2Spalten|Inhalt Spalte 1|Inhalt Spalte 2}}</pre> | ||
ergibt | ergibt | ||
| − | {{ | + | {{2 Spalten|Inhalt Spalte 1|Inhalt Spalte 2}} |
=== mit einer Breitenangabe === | === mit einer Breitenangabe === | ||
die andere Breitenangabe wird mithilfe von calc(98% - <breite>) errechnet. | die andere Breitenangabe wird mithilfe von calc(98% - <breite>) errechnet. | ||
| − | <pre>{{ | + | <pre>{{2 Spalten|width1=300px|Inhalt Spalte 1 300 Pixel breit|Inhalt Spalte 2}}</pre> |
ergibt | ergibt | ||
| − | {{ | + | {{2 Spalten|width1=300px|Inhalt Spalte 1 300 Pixel breit|Inhalt Spalte 2}} |
| − | <pre>{{ | + | <pre>{{2 Spalten|width2=300px|Inhalt Spalte 1|Inhalt Spalte 2 300 Pixel breit}}</pre> |
ergibt | ergibt | ||
| − | {{ | + | {{2 Spalten|width2=300px|Inhalt Spalte 1|Inhalt Spalte 2 300 Pixel breit}} |
=== mit zwei Breitenangaben === | === mit zwei Breitenangaben === | ||
<pre>{{2Spalten|width1=300px|width2=300px|Inhalt Spalte 1 300 Pixel breit|Inhalt Spalte 2 300 Pixel breit}}</pre> | <pre>{{2Spalten|width1=300px|width2=300px|Inhalt Spalte 1 300 Pixel breit|Inhalt Spalte 2 300 Pixel breit}}</pre> | ||
ergibt | ergibt | ||
| − | {{ | + | {{2 Spalten|width1=300px|width2=300px|Inhalt Spalte 1 300 Pixel breit|Inhalt Spalte 2 300 Pixel breit}} |
{{Beachten|Es wird nicht geprüft, die Angaben sinnvoll sind.}} | {{Beachten|Es wird nicht geprüft, die Angaben sinnvoll sind.}} | ||
Version vom 30. November 2020, 14:03 Uhr
Beschreibung
erzeugt 2 nebeneinander gefloatete Spalten
Anwendung
ohne Breitenangaben
ohne Verwendung der optionalen Parameter width1 und width2 erhalten beide Spalten eine Breite von 49% der zur Verfügung stehenden Breite. Der Abstand zwischen beiden (als padding-right der ersten realisiert) beträgt 2%.
{{2Spalten|Inhalt Spalte 1|Inhalt Spalte 2}}
ergibt
Inhalt Spalte 1
Inhalt Spalte 2
mit einer Breitenangabe
die andere Breitenangabe wird mithilfe von calc(98% - <breite>) errechnet.
{{2 Spalten|width1=300px|Inhalt Spalte 1 300 Pixel breit|Inhalt Spalte 2}}
ergibt
Inhalt Spalte 1 300 Pixel breit
Inhalt Spalte 2
{{2 Spalten|width2=300px|Inhalt Spalte 1|Inhalt Spalte 2 300 Pixel breit}}
ergibt
Inhalt Spalte 1
Inhalt Spalte 2 300 Pixel breit
mit zwei Breitenangaben
{{2Spalten|width1=300px|width2=300px|Inhalt Spalte 1 300 Pixel breit|Inhalt Spalte 2 300 Pixel breit}}
ergibt
Inhalt Spalte 1 300 Pixel breit
Inhalt Spalte 2 300 Pixel breit