Re: How to have a box drawn across the page?

Subject: Re: How to have a box drawn across the page?
From: Toby Speight <Toby.Speight@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: 26 Aug 1999 11:02:10 +0100
Philippe> Philippe CASIDY <URL:mailto:pcasidy@xxxxxxxxxxx>

0> In article <199908260733.JAA01093@xxxxxxxxxxxxx>, Philippe wrote:

Philippe> Hi!
Philippe>
Philippe> I am trying to have the following output :
Philippe>
Philippe> <--------- usable page width ------------>
Philippe>
Philippe> __________________________________________
Philippe> |              HEADLINE                  |
Philippe> ------------------------------------------
Philippe>
Philippe> So, in my DSSSL, I tried the following :
Philippe>
Philippe> (element HEADLINE
Philippe>         (make sequence
Philippe>                 (make paragraph
Philippe>                         quadding: 'center
Philippe>                         (make box
Philippe>                                 (literal "HEADLINE")
Philippe>                         )
Philippe>                 )
Philippe>         )
Philippe> )

Did you also try putting the quadding inside the box:

(make box    ;; untested
     display?: #t
     quadding: 'center
     (literal "HEADLINE"))

You may need to put a paragraph inside the box:

(make box    ;; untested
     display?: #t
     (make paragraph
         quadding: 'center
         (literal "HEADLINE")))

-- 


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread