Subject: Re: (dsssl) Vertical centering From: Dan Richter <daniel.richter@xxxxxxxxx> Date: Tue, 29 Apr 2003 09:54:06 +0200 |
I haven't found a single reference about how to vertically center a flow object!
(define (My-Titlepage-Element node side) (if (equal? side 'recto) (with-mode My-Titlepage-Recto-Mode (process-node-list node)) (with-mode My-Titlepage-Verso-Mode (process-node-list node))))
(mode My-Titlepage-Recto-Mode (element title (make paragraph (make paragraph ;; This paragraph has no content. space-after: 6cm ;; It's just for spacing. color: white ;; White = invisible. (literal ".")) (make paragraph font-size: 20pt font-weight: 'bold font-family-name: %title-font-family% ;; Defined in dbparam.dsl quadding: 'center space-after: 4cm (process-children)))) (element subtitle ;; Other stuff here. ))
(mode Wimba-Titlepage-Verso-Mode ;; ... )
========== Dan Richter ============== mailto:Dan@xxxxxxxxx =========== This may sound a little foreign to all you folks coming from a non-Unix background, but PHP doesn't cost anything. You can use it for commercial and/or non-commercial use all you want. You can give it to your friends, print it out and hang it on your wall or eat it for lunch. Welcome to the world of Open Source software! Smile, be happy, the world is good. - Quoted from http://www.php.net
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
(dsssl) Vertical centering, Jeremy Cooper | Thread | RE: (dsssl) Vertical centering, David . Pawson |
(dsssl) Vertical centering, Jeremy Cooper | Date | RE: (dsssl) Vertical centering, David . Pawson |
Month |