Using Divs

Description

This is a page template that uses DIVs to create colored boxes. Use it for example as the start page of your wiki

Code

Put some header text here if you need it.

[[div style="border:solid 1px #999999;width:48%;height:22em;background:#fdf5e6;padding:5px;float:left;margin-bottom:4px"]]
**Box 1**

Contents of box 1
[[/div]]
[[div style="border:solid 1px #ffffff;width:48%;height:22em;background:#ffffff;padding:5px;float:right;margin-bottom:4px"]]
**Box 2**

Contents of box 2
[[/div]]

[[div style="border:solid 1px #ffffff;width:48%;height:24em;background:#ffffff;padding:5px;float:left;margin-bottom:4px;"]]
**Box 3**

Contents of box 3
[[/div]]
[[div style="border:solid 1px #999999;width:48%;height:24em;background:#ffe4e1;padding:5px;float:right;margin-bottom:4px;"]]
**Box 4**

Contents of box 4
[[/div]]

In action

http://reisomdewereld.wikidot.com

Rate this solution

If you think this solution is useful — rate it up! Or dump it otherwise.

rating: +19+x

Comments

Is it possible to use identifiers and classes?
nunobabanunobaba 1182275007|%e %b %Y, %H:%M %Z|agohover

Div blocks are cool. One of the reasons they are powerful is that we can assign identifiers and classes to them. I haven't found any clues to use them with the Wikidot wiki syntax. Could you tell me? Thanks.

unfold Is it possible to use identifiers and classes? by nunobabanunobaba, 1182275007|%e %b %Y, %H:%M %Z|agohover
Re: Is it possible to use identifiers and classes?
Phil ChettPhil Chett 1185540659|%e %b %Y, %H:%M %Z|agohover

Hartnell and others has been writing some good stuff about divs.
have a look at the community forums and how to's: for more info

here

unfold Re: Is it possible to use identifiers and classes? by Phil ChettPhil Chett, 1185540659|%e %b %Y, %H:%M %Z|agohover
Add a new comment
page tags: layout
page_revision: 1, last_edited: 1217321945|%e %b %Y, %H:%M %Z (%O ago)
Unless stated otherwise Content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License