-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlayout.css
More file actions
58 lines (46 loc) · 988 Bytes
/
layout.css
File metadata and controls
58 lines (46 loc) · 988 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/*
* Add your CSS styles here
*
*/
body {
font-family: Helvetica, Arial, sans-serif;
background: #f4f4f4;
}
h1, h2, h3 {
color: #222;
}
p {
line-height: 24px;
color: #555;
}
a {
color: green;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
.content {
width: 940px;
margin: 0 auto;
}
#header {
border-bottom: 1px solid #999;
}
#nav {
margin: 0 20px 0 0;
float: left; /* CHALLENGE 3: how could you get this to float to the left side of the screen? */
}
#main {
margin: 0;
border: 1px; /* CHALLENGE 3: how could you get this to float to the left side of the screen? */
/* CHALLENGE 2: how could you give this element a one-pixel border down its left side? */
}
#copyright {
margin-top: 30px;
margin-bottom: 30px;
}
/* Ignore this for now, it is special code needed to fix the layout after using the "float" rules */
.clearfix:before, .clearfix:after { content:""; display:table; }
.clearfix:after { clear:both; }
.clearfix { zoom:1; }