This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[docbook-apps] Re: Image in CSS-styled fixed menu?


>>>>> ed nixon <ed.nixon@LynnParkPlace.org>:
[snip!]
>> Or, and this is hypothetical/experimental, you might try a
>> non-repeating background image in the TOC wrap block and set
>> "padding-top" and/or "margin-top" attributes of the actual TOC
>> content large enough to avoid obscuring the image.

Thanx for the tip!

The below code worked both in IE 5.0 and Opera 7.11 (except the menu
does of course follow the page when it scrolls in IE):

	div.toc
	{
	  color:black;
	  background:#e0e0e0;
	  background-image: url(menutop.png);
	  background-repeat:no-repeat;
	  font-family:"Arial,sans-serif";
	  font-style: normal;
	  font-variant: normal;
	  font-weight:bold;
	  text-align:left;
	  font-size:11pt;
	  position: absolute;
	  padding-top: 8em;
	  top: 0.5em;
	  left: -15em;
	  width: 14em;
	  right: auto;
	  }

	div>div.toc
	{
	  position: fixed;
	  left: 0.5em;
	  }


---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]