Viewing 1 post (of 1 total)
  • Author
    Posts
  • #26481

    I am trying to set the page insets on my page using the pageInsets attribute within the ‘transform’ tag.

    When I set the page insets using the java API call everything works fine:
    pd4ml.setPageInsetsMM(new java.awt.Insets(topInset, leftInset, bottomInset, rightInset));

    However when I comment out the java code and try to use the attribute in the JSP, it is ignored.

    Here’s a sample of my code for the JSP markup:

    <pd4ml:transform pageInsets="35,25,35,25,mm">
    
    <html>
    <META http-equiv="Content-Type" content="text/html; charset=ISO8859_1">
    <head>
    <style type="text/css">
    body {
    color: black;
    font-family: 'Times New Roman', Times, serif;
    font-size: 12pt;
    }
    </style>
    
    </head>
    
    <body>
    <!--- rest of body-->
    
    </body>
    
    </html>
    </pd4ml:transform>

    thanks for any help
    Michael

Viewing 1 post (of 1 total)

The forum ‘HTML/CSS rendering issues’ is closed to new topics and replies.