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] Image in CSS-styled fixed menu?


It's easier to answer a question like this while looking at a specific code example.

However, in general, the <div> block that wraps your TOC and that has a "display=fixed" attribute/value to maintain the TOC/menu position in the view port can also contain an image that is positioned within the TOC-wrap block. I suppose this would be a customization of the style-sheets.

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.

In both cases, of course, the image must either be correctly sized, scaled or clipped to conform with the TOC wrap block dimensions. These behaviours seem to be even more spotty for browser support than the "display=fixed" feature.

You might find some of the items at this link useful ( http://www.accessifyforum.com/viewtopic.php?t=28 )

...edN


Steinar Bang wrote:


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?  Or do I somehow have to get an <img> in at the
correct place?

Thanx!


- Steinar



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







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