DokuWiki

It's better when it's simple

User Tools

Site Tools


Sidebar

Translations of this page?:

Learn about DokuWiki

Advanced Use

Corporate Use

Our Community


Follow us on Facebook, Twitter and other social networks.

tips:simple_columns

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.txt · Last modified: 2016-03-01 21:30 by 94.45.75.40