HTML and CSS Reference
In-Depth Information
6.
Replace the default implementation with the code shown in Listing 5-2.
Listing 5-2. The Sample.css style sheet
h1
{
font-size:22px;
color:purple;
}
#output
{
width: 500px;
height: 250px;
background-color:#dfcaca;
}
.button
{
width:125px;
height:25px;
color:green;
}
.text
{
width:260px;
}
7.
Press F5 to debug the application and the form should look similar to Figure
5-5 .
Figure 5-5. The initial form design
 
Search WWH ::




Custom Search