Focal Point
HTML fixed size

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/8971073272

February 19, 2008, 07:08 AM
L_G
HTML fixed size
Hi all,

I have a report that output is in HTML format.I want to make the report output/layout independent from the Internet Explorer/Firefox window size.

I have tried to use the WRAP and SQUEEZE but without success.Do you have any ideas?


WebFOCUS 7.6
Windows 2000
Output: HTML, PDF
February 19, 2008, 07:35 AM
focuzsambit
switch to HTMLFORM....
don't hardcode in pixles...
try by percentage like...
  
<DIV ID="reports" STYLE="WIDTH:100%; HEIGHT:100%; PADDING:0; MARGIN:0">
<TABLE WIDTH="100%" BORDER="0">


some ideas to start with....


WF Server: 7.1.4 on Z/OS and Linux, ReportCaster
Data: DB2, DB2/UDB, Adabas, SQL Server, Oracle Output: HTML,PDF,Excel2K
WF Client: Servlet, CGI
February 19, 2008, 08:16 AM
L_G
Yes but when I use percents the report output will fit to the window...or not


WebFOCUS 7.6
Windows 2000
Output: HTML, PDF
February 19, 2008, 10:05 AM
Alan B
Use a style sheet:
CSSURL='http://....../mystyle.css'

In it have:
body {
width:1800px;
}
table {
width:1770px
}

or some such sizing. This will negate any reliance on the physical browser width.


Alan.
WF 7.705/8.007
March 07, 2008, 03:53 PM
mgrackin
L_G,

Found this thread kind of late but it is possible to control column widths for HTML output.

Take some time to read the article I wrote about HTML and PDF report design Part 1. I discuss how to do this in this article.

http://www.informationbuilders.com/support/developers/htmlpdf.html


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011