I'm very sorry if this has come up before...  I saw Emil Pedersen's
thread "include headerfile before first <H1>-tag", and that was
similar to but not exactly my problem.  I didn't see it in the docs
nor the archives but perhaps I didn't look hard enough?  A pointer
would be greatly appreciated!

Can I have the contents of HEADERFILE included outside of that pesky
<div> block?

Why?  I am trying to use HEADERFILE to get analog to put the whole
report (or at least as much as possible) into a <div class=> block in
order to add a navigation bar, using css to float the nav bar off to
the left and the text on the right.  See http://koryukanboulder.com
for the layout.

More precisely, style.css contains

.nav  {
 float: left;
 background: url(/background.png);
 margin: 0px 0px 0px 0px;
 border: 1px solid black;
 padding: 10px 10px 10px 10px;
 width: 11em;                       /* width of navbar */
}

.main {
 background: white;
 margin: 1em 2em 1em 14em;          /* left margin > width of navbar */
}

and HEADERFILE is these 2 lines:

<!--#include virtual="/nav.ihtml" -->
<div class=main>

where /nav.ihtml is an html include that contains the navigation bar,
and FOOTERFILE closes out the block with </div>

In analog 5.32 (or whatever version was in Debian unstable until a few
days ago) this worked beautifully.  But no longer: with Analog 6, the
contents of HEADERFILE go inside the <div class=header></div> block,
making my evil plans come to naught, since the </div> meant for
"header" matches the <div class=main> that I insert.

Is there any help for me?  Can I tell HEADERFILE to be included
outside of the DIV block?  If I just move the </div> closing out the
<div class=header> 3 lines up (3 rather than 2 since Analog's <p
class="analysisspan">... line also goes inside that block), everything
works swimmingly.

Many thanks for reading!
-Ben

--
Ben Pearre          http://hebb.mit.edu/~ben       PGP: CFDA6CDA
         Free music at http://hebb.mit.edu/FreeMusic
Don't let Bush read your email!             http://www.gnupg.org
+------------------------------------------------------------------------
|  TO UNSUBSCRIBE from this list:
|    http://lists.meer.net/mailman/listinfo/analog-help
|
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
+------------------------------------------------------------------------

Reply via email to