28.03.2014, 20:17. Показов 771. Ответов 2
Добрый вечер, делаю свой первый сайт, прочитала много тем про футер, но не могу понять принцип, когда он опускается, то получается он начинает тянутся с блока контент и как бы входит в этот блок, а нужно чтоб тянулся от меню слева и до конца контента, ну и естественно был под этим всем. Понимаю, что скорее всего тут нужна relative позиция, но у меня не получилось
| HTML5 |
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
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="refresh" content="4";>
<title>тест</title>
<link href="style/style.css" type="text/css" rel="stylesheet">
</head>
<body>
<div id="wraper">
<div id="header">
<div id="logo">
<p>логотип.ру</p>
</div>
<div id="sidebar">
<ul id="one">
<li><a href="http://vk.com" target="_blank"> Главная </a></li>
<li><a href="http://vk.com" target="_blank"> Работы</a></li>
<li><a href="http://vk.com" target="_blank">Вакансии </a></li>
<li><a href="http://vk.com" target="_blank">Отзывы</a></li>
<li><a href="http://vk.com" target="_blank">Акции</a></li>
<li><a href="http://vk.com" target="_blank">Контакты</a></li>
</ul>
</div>
<div id="contact">
<p>(4855)-987-56-87<p/>
</div>
<div id="telef">
<p>987-52-12</p>
</div>
<div id="adres">
<p>Ул.Луначарского, дом 15</p>
</div>
<div id="menusleva">
<div id="vidi">
<p>Виды рекламы</p>
</div>
<div id="image"></div>
<div id="punkt">
<ul id="nomer">
<li>Изготовления рекламы</li>
<li>Реклама в торговых сетях</li>
<li>Видео реклама</li>
<li>Съемка</li>
</ul>
</div>
<div id="rasprostr">
<p>Распространение</p>
</div>
<div id="image2"></div>
<div id="punkt2">
<ul>
<li>Распространение по почте</li>
<li>По офисам</li>
<li>Расклейка объявлений</li>
<li>Промо-акции</li>
<li>Доставка курьером</li>
</ul>
</div>
<div id="poligraf">
<p>Полиграфия</p>
</div>
<div id="image3"></div>
<div id="punkt3">
<ul>
<li>Печать всех видов</li>
<li>Дизайн,верстка</li>
<li>По офисам</li>
</ul>
</div>
<div id="reklam">
<p>Реклама и пресса</p>
</div>
<div id="image4"></div>
<div id="punkt4">
<ul>
<li>Реклама в газете</li>
<li>Недвижимость</li>
<li>Баннеры</li>
</ul>
</div>
</div>
<div id="content">
<div id="zagolov">
<p>Изготовление рекламы</p>
</div>
<div id="text1">
<p>Объемные буквы – один из самых ярких и эфеектных видов наружной рекламы.
Объемные буквы используются практически везде - для изготовления вывесок, офомления зоны ресепшн, для оформления витрин и для декораций.
Само собой разумеется - объемные световые буквы незаменимые и самые популярные рекламные конструкции.
За счет своей популярности уже существуют определнные технологии производства объемных световых букв.</p>
</div>
<div id="spisok1">
<ul>
<li>Объемные буквы</li>
<li>Световые короба</li>
<li>Консоли</li>
<li>Литые таблички</li>
</ul>
</div>
<div id="spisok2">
<ul>
<li>Объемные буквы</li>
<li>Световые короба</li>
<li>Консоли</li>
<li>Литые таблички</li>
</ul>
</div>
<div id="text2">
<p>Объемные буквы – один из самых ярких и эфеектных видов наружной рекламы.
Объемные буквы используются практически везде - для изготовления вывесок, офомления зоны ресепшн, для оформления витрин и для декораций.
Само собой разумеется - объемные световые буквы незаменимые и самые популярные рекламные конструкции.
За счет своей популярности уже существуют определнные технологии производства объемных световых букв.</p>
</div>
<div id="spisok3">
<ul>
<li>Объемные буквы</li>
<li>Световые короба</li>
<li>Консоли</li>
<li>Литые таблички</li>
</ul>
</div>
<div id="spisok4">
<ul>
<li>Объемные буквы</li>
<li>Световые короба</li>
<li>Консоли</li>
<li>Литые таблички</li>
</ul>
</div>
<div id="text3">
<p>Грамотно составленное резюме должно не превышать страницы формата А4 и содержать как минимум 5 разделов:
цель/желаемая позиция, личные данные, сведения об образовании, предыдущий опыт работы и, наконец, следует последняя графа, в которую можно внести данные.
Дополнительная информация должна характеризовать соискателя как профессионала.
</p>
</div>
<div id="footer">
</div>
</body>
</html> |
|
| CSS |
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
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
| html, body {
margin:0;
padding:0;
height:100%;
}
#header {
width: 1000px;
height: 300px;
margin:10px auto 10px;
background:url('../../images/1.jpg') no-repeat;
}
#logo {
float:left;
font-style:italic;
font-size:36px;
margin:110px;
font-family: Trebuchet MS;
margin-top:1px;
text-shadow: 4px 1px 2px white , 0 0 2em blue;
}
#sidebar {
padding:40px 20px 150px 400px;
}
a {
color:black;
}
#sidebar ul li {
font-family:Trebuchet MS;
font-size:100%;
list-style: none;
padding-left:5px;
width:100%;
display: inline;
font-style:italic;
text-decoration:underline;
}
#contact {
font-family:Trebuchet MS;
font-style:italic;
font-size:100%;
font-weight: bold;
position:absolute;
right:280px;
bottom:420px;
}
#telef {
font-family:Trebuchet MS;
font-style:italic;
font-weight: bold;
font-size:100%;
position:absolute;
right:280px;
bottom:400px;
line-height:5px
}
#adres {
font-family:Trebuchet MS;
font-style:italic;
font-size:100%;
position:absolute;
right:280px;
bottom:380px;
line-height:5px
}
#menusleva {
width: 300px;
height: 900px;
margin-top:45px;
border: 4px double black;
float:left;
}
#vidi p{
font:italic bold 20px Trebuchet MS;
display: inline;
text-transform: uppercase;
text-align:center;
position:absolute;
top:310px;
left:260px;
text-decoration: none;
}
#image {
width: 300px;
height: 50px;
position:absolute;
left:240px;
top:355px;
background:url('../../images/3.jpg') no-repeat;
}
#punkt {
font:italic 18px Trebuchet MS;
text-decoration:underline;
bottom: 15px;
position:absolute;
text-align:center;
top:350px;
line-height:25px;
}
#rasprostr {
font:italic bold 20px Trebuchet MS;
display: inline;
text-transform: uppercase;
text-align:center;
position:absolute;
top:500px;
left:240px;
}
#image2 {
width: 300px;
height: 700px;
position:absolute;
left:230px;
top:547px;
background:url('../../images/4.jpg') no-repeat;
}
#punkt2 {
font:italic 18px Trebuchet MS;
text-decoration:underline;
bottom: 15px;
position:absolute;
text-align:center;
top:545px;
line-height:25px;
}
#poligraf {
font:italic bold 20px Trebuchet MS;
display: inline;
text-transform: uppercase;
text-align:center;
position:absolute;
top:720px;
left:260px;
}
#image3 {
width: 300px;
height: 700px;
position:absolute;
left:230px;
top:770px;
background:url('../../images/4.jpg') no-repeat;
}
#punkt3 {
font:italic 18px Trebuchet MS;
text-decoration:underline;
bottom: 15px;
position:absolute;
text-align:center;
top:774px;
line-height:25px;
left:210px;
}
#reklam {
font:italic bold 20px Trebuchet MS;
display: inline;
text-transform: uppercase;
text-align:center;
position:absolute;
top:890px;
left:230px;
}
#image4 {
width: 300px;
height: 700px;
position:absolute;
left:220px;
top:942px;
background:url('../../images/4.jpg') no-repeat;
}
#punkt4 {
font:italic 18px Trebuchet MS;
text-decoration:underline;
bottom: 15px;
position:absolute;
text-align:center;
top:950px;
line-height:25px;
left:220px;
}
#content {
width: 635px;
height: 900px;
margin-top:45px;
border: 4px double red;
position:absolute;
left:480px;
}
#zagolov {
font:italic bold 20px Trebuchet MS;
display: inline;
text-transform: uppercase;
text-align:center;
position:absolute;
top:6px;
left:190px;
}
#text1 {
font:italic 14px Trebuchet MS;
text-align:left;
line-height:25px;
position: absolute;
bottom:654px;
margin:15px;
}
#spisok1 {
font:italic bold 14px Trebuchet MS;
text-decoration:underline;
line-height:25px;
text-align:left;
color:red;
position:absolute;
top:230px;
right:460px;
}
#spisok2 {
font:italic bold 14px Trebuchet MS;
text-decoration:underline;
line-height:25px;
color:red;
position:absolute;
top:230px;
right:200px;
}
#text2 {
font:italic 14px Trebuchet MS;
text-align:left;
line-height:25px;
position: absolute;
bottom:340px;
margin:15px;
}
#spisok3 {
font:italic bold 14px Trebuchet MS;
text-decoration:underline;
line-height:25px;
text-align:left;
color:red;
position:absolute;
top:550px;
right:460px;
}
#spisok4 {
font:italic bold 14px Trebuchet MS;
text-decoration:underline;
line-height:25px;
color:red;
position:absolute;
top:550px;
right:200px;
}
#text3 {
font:italic 14px Trebuchet MS;
text-align:left;
line-height:25px;
position: absolute;
top:670px;
margin:15px;
}
#footer {
background: #BFF08E;
width: 1000px;
height: 150px;
} |
|