Not a short list by any
means. The last item, look and feel, garners most of the attention. After all, who cares what the
control does on the inside if the HTML it produces is a pain to configure or is rigidly fixed to a
certain output? Because many controls will be distributed to their consumer as an assembly,
without source code, a customizable look and feel is a requirement.
Controls based on System.Web.UI.WebControls.WebControl benefit from a wonderful
amount of prebuilt functionality to customize themselves with Cascading Style Sheet (CSS)
styling. Controls of type WebControl are also smart enough to appropriately render HTML
tags for browsers that support HTML 3.2 so that many of the style features are not lost in
down-level browsers.
124 CHAPTER 4 ?– T HE WEBCONTROL BASE CLASS AND CONTROL S TYLES
HTML: Content and Appearance
The HTML document that renders in your favorite browser has two core aspects to its makeup.
The first is the textual content placed in the document??”the information that users seek.
The second is the appearance and layout of the content on the page. The style of the document
determines whether the text is a certain font, is italicized, or has a particular color. Style also
involves how information is laid out on the page, which determines the position and flow of
text and other content such as images.
Pages:
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212