W3Schools.com

ASP.NET Style Control


Web Server Controls Web Server Controls

Definition and Usage

The Style control is used to set the style of a web control.


Properties

Property Description .NET
BackColor The background color of the control 1.0
BorderColor The border color of the control 1.0
BorderStyle The border style of the control 1.0
BorderWidth The border width of the control 1.0
CssClass The CSS class rendered by the control on the client 1.0
Font The font properties of the control 1.0
ForeColor The foreground color (typically the color of the text) of the control 1.0
Height The height of the control 1.0
RegisteredCssClass The CSS class that is registered with the control 2.0
Width The width of the control 1.0


Web Server Controls Web Server Controls
WEB HOSTING
Best Web Hosting
PHP MySQL Hosting
Best Hosting Coupons
UK Reseller Hosting
Cloud Hosting
Top Web Hosting
$7.95/mo SEO Hosting
Premium Website Design
WEB BUILDING
XML Editor - Free Trial!
FREE Website BUILDER
Free Website Templates Free CSS Templates
Make Your Own Website
W3SCHOOLS EXAMS
Get Certified in:
HTML, CSS, JavaScript, XML, PHP, and ASP
W3SCHOOLS BOOKS
New Books:
HTML, CSS
JavaScript, and Ajax
STATISTICS
Browser Statistics
Browser OS
Browser Display
SHARE THIS PAGE