Ibahagi sa


How to: Display Hidden Information in Design View

To help you edit, Design view in Visual Web Developer can display glyphs and borders to mark elements on the page. In addition to helping you see where the elements are, using these features can help you avoid inadvertently deleting non-graphic elements (such as div, span, form, and script elements) from your page while editing.

Note

You can also use the Document Outline window to select items that are not displayed in Design view. For details, see How to: Navigate in the HTML Editor in Visual Web Developer.

To toggle markers on and off for non-graphic HTML elements in Design view

  1. On the View menu, click Details.

  2. To set markers to display whenever you open a Web page in Design view, do the following:

    1. On the Tools menu, click Options.

    2. Under HTML Designer, select the Display check box.

    3. Under Display Options, select the Show details for non-visible elements check box.

To display or conceal table borders in Design view

  1. On the View menu, click Visible Borders.

    This displays edges around tables and frames that would otherwise not appear.

  2. To set borders to display whenever you open a Web page in Design view, do the following:

    1. On the Tools menu, click Options.

    2. Under HTML Designer, select the Display check box.

    3. Under Display Options, select the Show details for non-visible elements check box.

To mark ASP.NET server controls

  1. On the Tools menu, click Options.

  2. Under HTML Designer, select the Display check box.

  3. Under Display Options, select the Show glyphs for server controls check box.

See Also

Concepts

Design View