OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 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;
	  }



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]