The above code generates 2 cells and is on one line.
I don't understand. Why you can be on one line.
I checked the manual and said
Cell (float w [, float h [, string txt [, mixed border [, int ln [, string align [, int fill [, mixed link]]])
First parameter:
W
Cell width. If 0, the cell extends the right margin.
H
Cell height. Default value:0.
The first parameter is width, and the second parameter is height.
How can you come out? Please master the meter
------Solution--------------------
Because your fill is 0, the cell will not wrap.
The cell will be wrapped higher than the line specified by H only if fill is greater than 1 o'clock
------Solution--------------------
Hand error:)
Cell
Cell (float w [, float h [, string txt [, mixed border [, int ln [, string align [, int fill [, mixed link]]])
Version
1.0
Content
Displays a cell (rectangular range), along with other feature options, including (border, background color, string). The position of the upper-left corner of the cell is the current position. Text can be arranged or placed in the other. After this command, the current position is shifted to the right or to the next line. It can create a link in the text. If the automatic paging feature has been started, the paging function will be performed automatically before the data is exported, when the content exceeds the limit of the storage grid.
Parameters
W
The width of the storage grid. If: 0, this cell will extend to the right edge of the page.
H
The height of the storage grid. The default value is: 0.
Txt
string display. Default value is: Blank
Border
To display a border around the edge of the cell, use the following values:
0: No Border
1: Border
Or include some or all of the following strings (under any instructions):
L: Left Edge
T: Top Edge
R: Right Edge
B: Bottom Edge
The default value is: 0
ln
The current position should be there after this function is in line.
The following values are available:
0: Move to the right
1: To the beginning of the next line
2: Go down
The default value is: 0
Align
Allows you to arrange text in place. The following values are available:
L or whitespace: left-hand arrangement (default)
C: Intermediate arrangement
R: Right-hand arrangement
Fill
Can make the background to the cell not transparent (1) or transparent (0). The default value is: 0
Link
The URL or identifier is returned by the Addlink ().
------Solution--------------------
If you think of the cell as a HEML TD tag, it might help to understand
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.