emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Tuning the layout of published html


From: Eric Abrahamsen
Subject: Re: [O] Tuning the layout of published html
Date: Fri, 22 Jul 2016 08:21:40 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Jarmo Hurri <address@hidden> writes:

> Eric Abrahamsen <address@hidden> writes:
>
>> Robert Klein <address@hidden> writes:
>>
>>> Jarmo Hurri <address@hidden> wrote:
>>>
>>>> More specifically, I would like to add, on all pages, a navigation bar
>>>> on the left-hand side and a title bar with no functionality on the top
>>>> of each page.
>>>
>>> You can use the preamble and postamble features for this.
>>
>> [...]
>>
>>> A lot depends on the CSS.  I'm dumping one here, not a very good one...
>>
>> FWIW, this seems like a perfect place to use flexboxes, where the actual
>> location of the elements in the document matters a bit less...
>
> A quick search on flexboxes looks promising indeed. I guess it would be
> possible to open a flexbox div in preamble and close it in
> postamble. Or maybe I can make the body of the page a flexbox in the
> CSS?

Yep, it's all doable from CSS alone. So long as the elements you want to
align are siblings (and can be uniquely selected) that's all you need.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]