Setting the showGrid Property

The showGrid property determines whether the positioning grid will be displayed in Design View of the HTML Designer when the pageLayout property is set to GridLayout.

To set the default value for the showGrid property

  1. Select Options from the Tools menu to open the Options dialog box.
  2. Select the HTML Designer, Display page.
  3. Set the showGrid property to True (display grid) or False (hide grid).

To adjust the value of the showGrid property while editing a Web page

  1. Select the page in the HTML Designer.
  2. From the drop-down menu at the top of the Properties Window, select Document.
  3. Set the showGrid property to True (display grid) or False (hide grid).

If you adjust the showGrid property to a value different than the default, a META NAME=vs_showGrid tag is inserted into the <HEAD></HEAD> portion of your page. For instance, if the default value of the showGrid property is False and you change it to True, this META tag is inserted:

<META NAME=vs_showGrid content="True">.