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]

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


Steinar Bang wrote:

<snip/>

Platform: DocBook XML 4.2, DocBook XSL 1.61.3
I'm trying to make the TOC in HTML generated from DocBook XML, be a
fixed menu, as outlined in:
http://www.w3.org/Style/Examples/007/menus.html


Is there a CSS2 way for including an image and putting it at the top
of the fixed menu?



Yes, there is. I did it like this:


	div.toc>p:before
	{
	  content: url(menutop.png) "\A""";
	  }

Are you targeting a browser that can handle the '>' operator? If so, what a luxury! Otherwise, I don't think this is well or widely supported.

...edN



---------------------------------------------------------------------
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]