-
Book Overview & Buying
-
Table Of Contents
Microsoft .NET Framework 4.5 Quickstart Cookbook
By :
Page Inspector is a tool that renders our pages in our Visual Studio 2012 IDE and lets us examine the source code and its output. It is great to determine which piece of code has produced a specific HTML markup code.
In order to use this recipe you should have Visual Studio 2012.
In this section we are going to see how to use the Page Inspector to inspect a page along with its styles.
Open our previous ASP.NET application.
Right-click on the Books.aspx page and select the View in Page Inspector option.
Once the Page Inspector panel opens, click on the Inspect button at the bottom of the rendered page and click on the Categories selector. The bottom section should showcase the rendered HTML; we should see the applied styles on our left and the ASP.NET code that generates the selected element on our right.

The page inspector is an outstanding feature to discover where a concrete style is being applied or what is provoking...
Change the font size
Change margin width
Change background colour