Question

HTMLReportGenerator - Header with Images and Text

  • 11 April 2022
  • 2 replies
  • 4 views

Badge +9

Hello all,

 

I am trying to create a report header that is an image (left justified), some text (Centre Justified) and another image (right justified) but can seem to figure it out.

 

The images remain constant but the text will change as I want to create a "map book" series based on an attribute.

 

My guess is that I need to add it as CSS but just need some direction as that is not my forte 🙂

 

Cheers

 

Dean


2 replies

Userlevel 5
Badge +25

The HTMLReportGenerator offers limited options for layout. If you want more control it's probably best to work with the Custom HTML option.

 

Alignment can be done through (inline) css, see for example this: https://www.w3schools.com/css/css_align.asp

Alternatively, what I sometimes do is create the basic layout with Adobe Dreamweaver, then copy the HTML and use that within the HTMLReportGenerator, adding dynamic content when necessary. Another good option would be to use the XMLTemplater if you want to set up a page with repeated content.

Hope this helps.

Badge +9

The HTMLReportGenerator offers limited options for layout. If you want more control it's probably best to work with the Custom HTML option.

 

Alignment can be done through (inline) css, see for example this: https://www.w3schools.com/css/css_align.asp

Alternatively, what I sometimes do is create the basic layout with Adobe Dreamweaver, then copy the HTML and use that within the HTMLReportGenerator, adding dynamic content when necessary. Another good option would be to use the XMLTemplater if you want to set up a page with repeated content.

Hope this helps.

Thanks for the various options @Hans van der Maarel​. An area to keep learning about.​

Reply