decorative banner

Converting a layout grid to a table


    You can convert layout grids to standard HTML tables with fixed table cell sizes and then use the Table Inspector to make the table cells resizeable in the browser window. (See Resizing columns, rows, and tables.)

    When you convert a layout grid to a table, GoLive strips out all of the special code such as cool gridx, gridy, and ctrlrow, but it leaves a "control" row of empty cells at the bottom of the table that's one-pixel high, a "control" column of empty cells one pixel wide at the right ends of each row in the table, and Netscape Spacer elements inside the empty cells. You can remove the control row and column from the converted table or you can replace the Spacer elements within the empty cells with provided spacer.gif transparent images. (Spacer elements or transparent GIF images are used to solve a problem displaying empty table cells in Netscape browsers. Spacer elements are ignored by Internet Explorer browsers.)

    By removing the GoLive code, you'll lose the ability to freely move objects around on the page unless you convert the table back again to a layout grid.

To convert a layout grid to a standard HTML table:

  1. Select the layout grid and choose Special > Layout Grid To Table.
  2. Note: If the Layout Grid To Table option doesn't appear in the Special menu, you need to enable the Layout Grid module. Choose Edit > Preferences, select Modules, select Layout Grid in the Extend Scripts folder, and click OK.

  3. In the Convert dialog box, do one of the following:
    • Select Strip Control Row and Column to remove the empty, one-pixel control row and column at the bottom and right side of the grid. (This option is selected by default.)
    • Deselect Strip Control Row and Column, and select Replace Spacer by Image to replace all Netscape Spacer elements with a spacer.gif transparent image that is one pixel high. You can also enter the name of a different image if you want, which should be located in the GoLive 6 application folder.
    • Deselect both options to keep the control row and column, and include the Spacer elements.
  4. Click OK.

To convert a table back into a layout grid:

    Select the table and choose Special > Table > Convert to Layout Grid or click the Convert button in the Table Inspector.