Christian Moe <m...@christianmoe.com> writes: > 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... > }
Yes indeed, something like this seems to work. For anyone embarking on a similar trip, a tight placement of the horizontal title bar on top of the page requires, among other things, something along the following lines in your CSS: body { margin: 0; } All the best, Jarmo