Training Guide: Programming in HTML5 with JavaScript and CSS3 Ebook

(Nora) #1

Practice exercises CHAPTER 15 571


}

body {
color: #776E65;
padding: 10px;
}

header {
height: 20px;
background-repeat: no-repeat;
margin-top: 10px;
}

#headerText {
position: absolute;
top: 0px;
width: 100%;
}

h1 {
font-size: 24px;
}

div[role="main"] {
float: left;
width: 60%;
}

#editContact {
background: none repeat scroll 0 0 #F8F8F8;
border: 1px solid #E1E1E1;
width: 400px;
margin-top: 20px;
}

#editContact h2 {
padding-left: 10px;
margin-top: 10px;
font-size: 18px;
width: 200px;
}

#editContact div {
width: 350px;
padding: 10px;
}

#editContact div.buttons {
text-align: center;
}

#editContact label {
width: 150px;
height: 12px;
vertical-align: bottom;
Free download pdf