DokuWiki

It's better when it's simple

User Tools

Site Tools


tips:simple_columns

This is an old revision of the document!


Simple Columns

Description

Implementation of columns without plugins.

What should be done

Add this code to <dokuwiki>/conf/entities.conf:

<col05>	<div style="float:left; width:5%;">
<col10>	<div style="float:left; width:10%;">
<col20>	<div style="float:left; width:20%;">
<col30>	<div style="float:left; width:30%;">
<col40>	<div style="float:left; width:40%;">
<col50>	<div style="float:left; width:50%;">
<col60>	<div style="float:left; width:60%;">
<col70>	<div style="float:left; width:70%;">
<col80>	<div style="float:left; width:80%;">
<col90>	<div style="float:left; width:90%;">
</col>	</div>
<clear>	<div style="clear:both"></div>

Usage

Example 1:

<col10>
...10% short short short short
</col>
<col50>
...50% long long long long long long long long long long long long long long long 
</col>
<col30>
...30% medium medium medium medium medium medium
</col>
<clear>

Example 2:

<col30>
  first
  11111
</col>
<col05>

</col>
<col30>
  second
  222222
</col>
<col05>

</col>
<col30>
  third
  33333
</col>
<clear>
tips/simple_columns.1456864203.txt.gz · Last modified: 2016-03-01 21:30 by 94.45.75.40

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki