Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

45 lines (29 sloc) 1.552 kb
<%@ Page Language="C#" %>
<html>
<body>
<h3><font face="verdana">Applying Styles to HTML Controls</font></h3>
<p><font face="verdana"><h4>Styled Span</h4></font><p>
<span style="font: 12pt verdana; color:orange;font-weight:700" runat="server">
This is some literal text inside a styled span control
</span>
<p><font face="verdana"><h4>Styled Button</h4></font><p>
<button style="font: 8pt verdana;background-color:lightgreen;border-color:black;width:100" runat="server">Click me!</button>
<p><font face="verdana"><h4>Styled Text Input</h4></font><p>
Enter some text: <p>
<input type="text" value="One, Two, Three" style="font: 14pt verdana;background-color:yellow;border-style:dashed;border-color:red;width:300;" runat="server"/>
<p><font face="verdana"><h4>Styled Select Input</h4></font><p>
Select an item: <p>
<select style="font: 14pt verdana;background-color:lightblue;color:purple;" runat="server">
<option>Item 1</option>
<option>Item 2</option>
<option>Item 3</option>
</select>
<p><font face="verdana"><h4>Styled Radio Buttons</h4></font><p>
Select an option: <p>
<span style="font: 16 pt verdana;font-weight:300">
<input type="radio" name="Mode" checked style="width:50;background-color:red;zoom:200%" runat="server"/>Option 1<br>
<input type="radio" name="Mode" style="width:50;background-color:red;zoom:200%" runat="server"/>Option 2<br>
<input type="radio" name="Mode" style="width:50;background-color:red;zoom:200%" runat="server"/>Option 3
</span>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.