When designing Web pages, you will need to consider how to give them a more pleasant and attractive look without eliminating their readability. There are two ways to do this in ASP.NET Forms—through formatting properties of the WebControl base class and through Cascading Style Sheets (CSS).
Web controls descend from the WebControl class, which contains various properties for display formatting. These properties are listed in Table 26.4.
|AccessKey||Specifies a keyboard shortcut key to set focus to the WebControl.|
|BackColor||Background color of the WebControl.|
|BorderColor||Border color of the WebControl.|