[dokuwiki] Re: Switch off justification

  • From: "Don Bowman" <don.bowman@xxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Sun, 26 Jul 2009 13:02:22 +0100

On Sat, 25 Jul 2009 17:42:26 +0100, Erich Neuwirth <erich.neuwirth@xxxxxxxxxxxx> wrote:


I am using the minima template, but I think the question is more general.
Is there a way to switch off justification (for headers and for normal text)
I wold rather have ragged right text.
Especiall in the case if longer headings, the results sometimes are somewhat ugly?

Switching off the justification is fairly easy. If you look at design.css at around line 255 you will find a group of lines that start with

  dev.dokuwiki h1 a,

This is the formatting information for the headers.  Include the line

  text-align: left;

To stop justification.

An is there a way to enforce linebreaks in headings?
\\space does not work in headings.
Sometimes I need multiline headings.

This does not look to be so easy. It looks like DokuWiki does not allow formatting within headers. Raw HTML will allow a break, but getting it through DokuWiki seems to be impossible. There do not appear to be any suitable plug-ins either.

If you have to break a header it would be nice to say where the break should come but I think that you will have to live with the problem for now.


--
Don

The views expressed are mine alone,
unless, of course, you agree with me.

But then again, I could be wrong ...
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: