Specifications

516
Layout view functions
Layout view functions handle operations that change the layout elements within a document.
They affect table, column, and cell settings, including position, properties, and appearance.
dom.addSpacerToColumn()
Availability
Dreamweaver 4
Description
Creates a 1-pixel-high transparent spacer image at the bottom of a specified column in the
currently selected table. This function fails if the current selection is not a table or if the operation
is not successful.
Arguments
colNum
colNum
is the column at the bottom of which the spacer image is created.
Returns
Nothing.
dom.createLayoutCell()
Availability
Dreamweaver 4
Description
Creates a layout cell in the current document at the specified position and dimensions, either
within an existing layout table or in the area below the existing content on the page. If the cell is
created in an existing layout table, it must not overlap or contain any other layout cells or nested
layout tables. If the rectangle is not inside an existing layout table, Dreamweaver tries to create a
layout table to house the new cell. This function does not force the document into Layout view.
This function fails if the cell cannot be created.
Arguments
left, top, width, height
left is the x position of the left border of the cell.
top is the y position of the top border of the cell.
width is the width of the cell in pixels.
height is the height of the cell in pixels.
Returns
Nothing.
dom.createLayoutTable()
Availability
Dreamweaver 4