Hi,
I am thinking about making a new template for my personal wiki and I am wondering what if anything the empty div elements (class=clearer) do? Do they ever have content in them? Why are they used?
They seem like they are presentational gap-fillers, like one-pixel transparent GIFs (ca. 1999). It makes sense to see them in the template file main.php, after the template for the main content box and a few other spots. But then as I was tracing the template functions back to the core functions I found another use of it: inc/html.php, ln 239, in html_show() [1]. It looks like when html_show is called on an empty file, it returns a boilerplate XHTML snippet, including some presentational elements. Is that right?
Cheers,
Ryan
[1]:
http://xref.dokuwiki.org/reference/dokuwiki/_functions/html_show.html