LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

HTML column alignment

Solved!
Go to solution

We create a summary data sheet in html format. In the first section there is

 

Model:  value

SN value

HW rev value

 

In the second section there is 

 

TEST DATA 

 

Tes1 value

Test2 value

 

Third section:

 

Date: value

Time: value

Etc: value

 

 

 

On the screen the columns look fine but when printed the 2nd section values are left shifted as shown here. All sections have column widths set to 2.5 inches. Any suggestions?

 

Thanks,

 

jvh

0 Kudos
Message 1 of 3
(2,521 Views)

Update:

 

I measured the hard copy and in the 2nd section the 2nd column starts at 2.5 inches. The others were about 2.8 inches. 

 

Strangely (to me at least) setting the width for all columns to 2 inches caused them all to align. 

0 Kudos
Message 2 of 3
(2,512 Views)
Solution
Accepted by topic author jvh75021

column width defines the width of each column in the report table. The value you enter must be in inches or centimeters, depending on the settings you enter in measurement system for column width. The default is 1. For HTML reports, the VI multiplies the value by 100 to set the column width in pixels.

Note  If you set column width to a large value and send several columns of data to the VI, the VI automatically resizes the column width to fit the width of the report on a single page.
0 Kudos
Message 3 of 3
(2,501 Views)