Footer moet meeschuiven naar onderen
ik zat te prutsen aan mijn site en ik kan maar niet via css of ander hulpmiddelen mijn footer met copyright ect naar beneden laten schuiven als de tekst lang word
Hier is de html code en de css codem ze zijn bijden valid
Code (php)
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
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
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<script type="text/javascript" src="scripts/minitab.js"></script>
<link rel="stylesheet" type="text/css" href="style/style.css" media="screen" />
</head>
<body>
<div id="content">
<div id="spacer">
</div>
<div id="menu">
<ul id="lijst">
<li><a style="border-bottom: 0px none; padding-bottom: 6px;" href="?pagina=home">Home</a></li>
<li><a style="border-bottom: 0px none; padding-bottom: 6px;" href="?pagina=projects">Portfolio</a></li>
<li><a style="border-bottom: 0px none; padding-bottom: 6px;" href="?pagina=about">Over</a></li>
<li><a style="border-bottom: 0px none; padding-bottom: 6px;" href="?pagina=contact">Contact</a></li>
<li><a style="border-bottom: 0px none; padding-bottom: 6px;" href="?pagina=muziek">Muziek</a></li>
</ul>
<div style="top: 179px; left: 248px; width: 33px;" id="animated-tab"> </div>
</div>
<div id="text">
<div id="left">
<div id="links">
<img src="images/pagina's/links.png" alt="Links, Ontwikkelaars" />
</div>
<div id="button">
</div>
</div>
<div id="right">
<div id="title">
<img src="images/pagina's/welkom.png" alt="Welkom" />
</div>
<h3>Welkom</h3>
<p>Gepost door <a href="?pagina=gebruiker">/a>op 15 December 2007</p>
<p>Welkom op mijn blog</p>
</div>
</div>
</div>
<div id="footer">
<div id="copy">
<p>
© <a href="?pagina=about"></a> 2006-2008
</p>
</div>
<div id="valid">
<a href="http://validator.w3.org/check?uri=referer"><img src="images/logo's/xhtml.png" alt="xhtml" /></a>
<a href="http://jigsaw.w3.org/css-validator/check/"><img src="images/logo's/css.png" alt="css" /></a>
</div>
</div>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<script type="text/javascript" src="scripts/minitab.js"></script>
<link rel="stylesheet" type="text/css" href="style/style.css" media="screen" />
</head>
<body>
<div id="content">
<div id="spacer">
</div>
<div id="menu">
<ul id="lijst">
<li><a style="border-bottom: 0px none; padding-bottom: 6px;" href="?pagina=home">Home</a></li>
<li><a style="border-bottom: 0px none; padding-bottom: 6px;" href="?pagina=projects">Portfolio</a></li>
<li><a style="border-bottom: 0px none; padding-bottom: 6px;" href="?pagina=about">Over</a></li>
<li><a style="border-bottom: 0px none; padding-bottom: 6px;" href="?pagina=contact">Contact</a></li>
<li><a style="border-bottom: 0px none; padding-bottom: 6px;" href="?pagina=muziek">Muziek</a></li>
</ul>
<div style="top: 179px; left: 248px; width: 33px;" id="animated-tab"> </div>
</div>
<div id="text">
<div id="left">
<div id="links">
<img src="images/pagina's/links.png" alt="Links, Ontwikkelaars" />
</div>
<div id="button">
</div>
</div>
<div id="right">
<div id="title">
<img src="images/pagina's/welkom.png" alt="Welkom" />
</div>
<h3>Welkom</h3>
<p>Gepost door <a href="?pagina=gebruiker">/a>op 15 December 2007</p>
<p>Welkom op mijn blog</p>
</div>
</div>
</div>
<div id="footer">
<div id="copy">
<p>
© <a href="?pagina=about"></a> 2006-2008
</p>
</div>
<div id="valid">
<a href="http://validator.w3.org/check?uri=referer"><img src="images/logo's/xhtml.png" alt="xhtml" /></a>
<a href="http://jigsaw.w3.org/css-validator/check/"><img src="images/logo's/css.png" alt="css" /></a>
</div>
</div>
</body>
</html>
----------------------------------------------------------------------------------
Code (php)
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
body {
background-image:url(../images/bg.png);
background-repeat:repeat-x;
background-color:#3E3E3E;
}
* {
margin:0;
border:0px;
}
#content {
width:750px;
height:347px;
background-image:url(../images/content_2.png);
background-repeat:no-repeat;
background-color:#3E3E3E;
margin:70px 0px 0px 152px;
}
#spacer {
height:109px;
clear:both;
}
#menu {
height:20px;
clear:both;
margin:0px 0px 0px 76px;
}
#lijst {
width:500px;
float:left;
font-size:10px;
margin:0;
padding: 0 10px 0 10px;
border-bottom: 1px solid #3E3E3E;
position:relative;
z-index:2;
}
#lijst li {
float:left;
margin:0;
padding:0;
display:inline;
list-style:none;
position:relative;
font-family:verdana;
}
#lijst a:link, #lijst a:visited {
float:left;
font-size:10px;
line-height:15px;
margin: 0 10px 0 10px;
text-decoration:none;
color:#dadada;
}
#lijst a.active:link, #lijst a.active:visited, #lijst a:hover {
border-bottom:4px solid #ADD71B;
padding-bottom:2px;
color:#ADD71B;
}
#animated-tab {
position:absolute;
z-index:1;
font-size:10px;
line-height:15px;
padding-bottom:2px;
border-bottom:4px solid #ADD71B;
}
#text {
width:604px;
height:217px;
clear:both;
margin-left:76px;
}
#left {
width:162px;
height:211px;
float:left;
border-right: solid 1px #333333;
margin-top:2px;
}
#right {
width:439px;
height:213px;
float:right;
margin-top:2px;
font:10px verdana;
color:#dadada;
}
#right p {
padding: 10px 50px 0px 35px;
}
#right a {
color:#dadada;
text-decoration:none;
margin-right:10px;
}
#right a:hover {
color:#ADD71B;
}
#right a:active {
color:#ADD71B;
}
#right img {
margin-top:6px;
}
.size {
font-size:12px;
}
h3 {
color:#ADD71B;
padding: 6px 0px 0px 20px;
}
#links {
width:162px;
height:23px;
clear:both;
overflow:hidden;
}
#links img {
padding: 6px 0px 0px 20px;
}
#button img {
display:block;
margin: 8px 0px 0px 25px;
}
#title {
width:162px;
height:23px;
clear:both;
overflow:hidden;
}
#title img {
padding: 6px 0px 0px 20px;
}
#footer {
width:604px;
height:25px;
margin-left:220px;
}
#copy {
float:left;
margin-left:150px;
}
#copy a {
text-decoration:none;
color:#dadada;
}
#copy a:hover {
color:#ADD71B;
}
#copy p {
color:#dadada;
font:10px verdana;
text-align:center;
margin-top:5px;
}
#valid {
width:170px;
height:25px;
float:right;
}
#valid img {
margin:5px 0px 0px 5px;
}
form {
margin-top:10px;
}
background-image:url(../images/bg.png);
background-repeat:repeat-x;
background-color:#3E3E3E;
}
* {
margin:0;
border:0px;
}
#content {
width:750px;
height:347px;
background-image:url(../images/content_2.png);
background-repeat:no-repeat;
background-color:#3E3E3E;
margin:70px 0px 0px 152px;
}
#spacer {
height:109px;
clear:both;
}
#menu {
height:20px;
clear:both;
margin:0px 0px 0px 76px;
}
#lijst {
width:500px;
float:left;
font-size:10px;
margin:0;
padding: 0 10px 0 10px;
border-bottom: 1px solid #3E3E3E;
position:relative;
z-index:2;
}
#lijst li {
float:left;
margin:0;
padding:0;
display:inline;
list-style:none;
position:relative;
font-family:verdana;
}
#lijst a:link, #lijst a:visited {
float:left;
font-size:10px;
line-height:15px;
margin: 0 10px 0 10px;
text-decoration:none;
color:#dadada;
}
#lijst a.active:link, #lijst a.active:visited, #lijst a:hover {
border-bottom:4px solid #ADD71B;
padding-bottom:2px;
color:#ADD71B;
}
#animated-tab {
position:absolute;
z-index:1;
font-size:10px;
line-height:15px;
padding-bottom:2px;
border-bottom:4px solid #ADD71B;
}
#text {
width:604px;
height:217px;
clear:both;
margin-left:76px;
}
#left {
width:162px;
height:211px;
float:left;
border-right: solid 1px #333333;
margin-top:2px;
}
#right {
width:439px;
height:213px;
float:right;
margin-top:2px;
font:10px verdana;
color:#dadada;
}
#right p {
padding: 10px 50px 0px 35px;
}
#right a {
color:#dadada;
text-decoration:none;
margin-right:10px;
}
#right a:hover {
color:#ADD71B;
}
#right a:active {
color:#ADD71B;
}
#right img {
margin-top:6px;
}
.size {
font-size:12px;
}
h3 {
color:#ADD71B;
padding: 6px 0px 0px 20px;
}
#links {
width:162px;
height:23px;
clear:both;
overflow:hidden;
}
#links img {
padding: 6px 0px 0px 20px;
}
#button img {
display:block;
margin: 8px 0px 0px 25px;
}
#title {
width:162px;
height:23px;
clear:both;
overflow:hidden;
}
#title img {
padding: 6px 0px 0px 20px;
}
#footer {
width:604px;
height:25px;
margin-left:220px;
}
#copy {
float:left;
margin-left:150px;
}
#copy a {
text-decoration:none;
color:#dadada;
}
#copy a:hover {
color:#ADD71B;
}
#copy p {
color:#dadada;
font:10px verdana;
text-align:center;
margin-top:5px;
}
#valid {
width:170px;
height:25px;
float:right;
}
#valid img {
margin:5px 0px 0px 5px;
}
form {
margin-top:10px;
}
Edit:
Naam uit bericht gehaald op verzoek
Gewijzigd op 08/07/2014 12:22:13 door B a s
Zet je code even tussen tags, dan wordt het wat leesbaarder. En heb je misschien een online voorbeeldje?
Voorbeeld van een site die dat heeft, maar let niet op de kleuren
Die zijn er alleen voor de duidelijkheid.
Speel er maar even mee, dan kan je zien dat het werkt.