My form is very bland, being just black and white. I did this in paint. How could I do something like this through VS?
http://www.levenmusic.com/public/webform.jpg
Printable View
My form is very bland, being just black and white. I did this in paint. How could I do something like this through VS?
http://www.levenmusic.com/public/webform.jpg
put an enclosing <div></div> around your textboxes, and use CSS to set the backcolor.
You should always have a style sheet to set common display colors etc..
You put a link tag in the head section of your aspx page like so.
You enclose your textboxes in a div with a classid (colored in this case) like so:Code:<head>
...
<link rel="stylesheet" type="text/css" href="Styles.css">
</head>
You add a style-sheet to your project (add new item... style sheet.. call it 'Styles.css'),Code:<div class="colored">
<asp:textbox id="123" runat="server" />
<asp:textbox id="124" runat="server" />
</div>
then add a style identifier for your class ('colored').
in the style sheet:
Save all, and run.Code:div.colored
{
padding: 20px;
width: 400px;
border: solid 1px #000000;
background-color: #555555;
}