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: Christian Moe
Subject: Re: [O] Tuning the layout of published html
Date: Tue, 19 Jul 2016 20:08:16 +0200
User-agent: mu4e 0.9.17; emacs 24.5.1

Jarmo Hurri writes:

>> and position the different parts as needed with CSS.
>
> This is where I don't know what exactly is going to happen. Org writes
> quite a bit of CSS in each exported HTML file. If I add in, say, a
> vertical navigation bar, how am I going to control its placement with
> respect to everything else that is already in the CSS?

Say you put the navbar at the end of the HTML preamble and give it a
#navbar id (<div id="navbar">). Org already gives the main content a
#content id. Then this should be all the CSS you need to get started:

#navbar { float: left;
          ...loads more CSS here...
          }
#content { float: left;
           ...and more CSS here...
           }

Yours,
Christian



reply via email to

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