[docbook-css] css enhancements for function prototypes

David Holroyd dave at badgers-in-foil.co.uk
Thu Sep 21 10:05:10 UTC 2006


Hi there!

On Thu, Sep 14, 2006 at 02:38:12PM +0200, Gaetano Giunta wrote:
> I just tried the 0.4 css available on http://www.badgers-in-foil.co.uk/projects/docbook-css/ on the docbook I use for the php-xmlrpc project documentation.
> 
> 
> I found it to be lacking in the formatting of "funcprototype" elements, so i added a custom set of rules, with the goal of having function prototypes looking as similar as possible to the results of applying the stock xslt transforms.
> 
> Some of these rules will only be shown by Opera or Mozilla, since they depend on :before and ;after pseudo-selector, which IE6 does not support.
> 
> Feel free to test out these additions and incorporate them into the main distribution.

I will do.  Thank you!

I just need to add your example to the set of test files.


> Note that i still have a problem with multiple funcprototype elements inside a funcsynopsis: i would like these to appear on multiple lines, while by default they all appear on the same line.
> I tried setting funcprototype to display:block, but this has the drawback of loosing the vertical aligment with the surrounding sections. I was hoping for something like funcprototype:after { content: "\A" } but it looks like only Opera currently supports this...

Not much time to look into it right not, I'm afraid.  Certainly things
are better than they where for the addition of these styles, so I will
add them as they are.


> ps: There is an oldish msg in the list mentioning the css moving to
> the official sf.net docbook site. has it happened? is it planned?

The stylesheets are now officially hosted in the DB sf.net Subversion
repository.  I've not made a release since the move happened though.

  http://svn.sourceforge.net/viewvc/docbook/trunk/css/xml/docbook/

Not been working with any docbook stuff these last many months :(


ta,
dave

-- 
http://david.holroyd.me.uk/



More information about the docbook-css mailing list