Bonjour,

Je souhait effectivement placer un footer en bas de l'écran de l'utilisateur lorsque le texte ne le rempli pas verticalement. Je souhaiterais également qu'il se place après le contenu de la page web et finisse par se retrouver en bas de mon écran lorsque le contenu est suffisant (un peu comme expliqué sur ce site). A quelque exceptions près.
Dans l'idéal j'aimerais éviter de fixer une hauteur à mon footer (un des derniers commentaires semble proposer une piste, mais je n'ai pas réussi à la faire fonctionner...)
Pour info, je fais mon site sous jimdo et j'ai quelque obligations pour la forme (peut être les connaissez-vous mieux que moi), donc voici mon code :
Le HTML :
Code html : Sélectionner tout - Visualiser dans une fenêtre à part
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
<div id="cc-inner" class="cc-content-parent">
    <header>
        <div class="navigation-colors">
            <div class="tpl-topbar-wrapper">
                <nav class="tpl-navigation"></nav>
                <div data-container="navigation">
                    <nav class="tpl-navigation"><var levels="1,2,3" expand="true" variant="nested" edit="1">navigation</var></nav>
                </div>
                <nav class="tpl-navigation"></nav>
            </div>
        </div>
 
        <div class="logo-wrapper">
            <a href="http://nyko-test.jimdo.com"><img src="http://www.aht.li/2627144/LOGO_FINI_22.jpg" border="0" alt="Interstice"/></a>
        </div>
    </header>
 
    <div class="slope-wrapper">
        <div class="content-options-box slope">
        </div>
 
        <div class="content-options-box slope-overlay">
        </div>
    </div>
 
    <div class="content-wrapper content-options-box cc-content-parent">
        <section class="content-options-css content-options-inner cc-content-parent">
            <div class="breadcrumbs breadcrumb-options">
                <div data-container="navigation">
                    <div class="j-nav-variant-breadcrumb">
                        <ol>
                            <li itemscope="true" itemtype="http://data-vocabulary.org/Breadcrumb" class="cc-nav-current j-nav-current">
                                <a href="/" itemprop="url" class="cc-nav-current j-nav-current"><span itemprop="title">Accueil</span></a>
                            </li>
                        </ol>
                    </div>
                </div>
            </div>
 
            <div id="content_area" data-container="content">
                <var>content</var>
            </div>
        </section>
    </div>
 
    <aside class="sidebar-options-box">
        <section class="sidebar-options-css sidebar-options-inner">
            <div data-container="sidebar">
                <var>sidebar</var>
            </div>
        </section>
    </aside>
 
    <footer class="footer-options">
        <div class="tpl-footer-wrapper">
            <div id="contentfooter" data-container="footer">
                <var>footer</var>
            </div>
        </div>
    </footer>
 
    <aside class="tpl-shoppingcart">
    </aside>
</div>

Le CSS :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
@import url(http://fonts.googleapis.com/css?family=Roboto:400,400italic,700,700italic|Amatic+SC:700);
@import url("http://fonts.googleapis.com/css?family=Roboto%3Aregular%7CRoboto%3Aregular%7CRoboto%3Aregular%7CRoboto%3Aregular%7CRoboto%3Aregular");
 
fieldset{
	border: 0;
	margin: 0;
	padding: 0;
}
 
figure,p{
	margin: 0;
}
 
h3{
	font-size: 2.4rem;
	font-size: 24px;
	line-height: 1.25;
}
 
h2{
	font-size: 3.2rem;
	font-size: 32px;
	line-height: 1.25;
}
 
h1{
	font-size: 4.8rem;
	font-size: 48px;
	line-height: 1.05;
}
 
html{
	color: #888;
	font-size: 62.5%;
	ms-text-size-adjust: 100%;
	webkit-text-size-adjust: 100%;
	height: 100%;
}
 
body,button,input,select,textarea{
	font-family: Roboto,Helvetica,Arial,sans-serif;
	font-size: 16px;
	line-height: 1.5;
}
 
body,button,input,textarea{
	color: #888;
}
 
select{
	color: #333;
}
 
body{
	background-color: #e8e8e8;
	min-height: 100%;
 
}
 
nav{
	box-sizing: border-box;
	moz-box-sizing: border-box;
	webkit-box-sizing: border-box;
}
 
h1,h2,h3,h4{
	box-sizing: border-box;
	color: #358d3f;
	font-family: inherit;
	font-weight: 400;
	margin: 0;
	moz-box-sizing: border-box;
	padding: .5em 0 .1em;
	webkit-box-sizing: border-box;
}
 
a{
	color: #ea7b3c;
}
 
a:link img,a:visited img{
	border: 0;
}
 
a:active,a:focus,a:hover{
	color: #333;
}
 
header{
	position: relative;
	z-index: 20;
}
 
.navigation-colors{
	background-color: rgba(0,0,0,0);
	float: left;
	width: 100%;
}
 
.tpl-topbar-wrapper{
	clear: both;
	margin: auto;
	max-width: 1333px;
}
 
.tpl-navigation{
	float: right;
	padding: 25px;
}
 
.logo-wrapper{
	clear: both;
	margin: auto;
	margin-bottom: 50px;
}
 
.logo-wrapper a img{
	margin: auto;
	max-width: 100%;
	height: auto;
}
 
.slope-wrapper{
	height: 10px;
	opacity : 0;
}
 
.slope{
	background-color: #fff;
	height: 10px;
	moz-transform: skew(0deg,-2deg);
	ms-transform: skew(0deg,-2deg);
	position: relative;
	top: 50px;
	transform: skew(0deg,-2deg);
	webkit-transform: skew(0deg,-2deg);
	opacity : 0;
}
 
.slope-overlay{
	background-color: #fff;
	height: 10px;
	moz-transform: skew(0deg,-2deg);
	ms-transform: skew(0deg,-2deg);
	position: relative;
	top: 0;
	transform: skew(0deg,-2deg);
	webkit-transform: skew(0deg,-2deg);
	opacity : 0;
}
 
.content-wrapper
{
	background-color: #fff;
	position: relative;
	z-index: 10;
}
 
@media screen and (min-width : 1440px){
	.content-options-css{
		display: block;
		margin:auto;
		max-width: 1300px;
		width : 75%;
	}
}
 
@media screen and (min-width : 830px) and (max-width : 1440px){
	.content-options-css{
		display: block;
		margin: auto;
		width: 85%;
	}
}
 
@media screen and (max-width : 830px){
	.content-options-css{
		display: block;
		margin: auto;
		width: 95%;
	}
}
 
aside{
	background-color: #f8f8f8;
	border-top: 1px solid #e8e8e8;
	position: relative;
	z-index: 5;
}
 
.tpl-shoppingcart{
	position: relative;
	z-index: 25;
}
 
.sidebar-options-css,.tpl-footer-wrapper{
	box-sizing: border-box;
	margin: auto;
	max-width: 1333px;
	moz-box-sizing: border-box;
	padding: 50px 20px;
	webkit-box-sizing: border-box;
}
 
footer{
	position: relative;
	z-index: 3;
}
 
.footer-options{
	background-color: #333;
	color: #999;
}
 
.tpl-footer-wrapper a{
	color: #fff;
}
 
.navigation-colors a,.navigation-colors a:link,.navigation-colors a:visited{
	color: #999;
	font-size: .9em;
	text-decoration: none;
	text-transform: uppercase;
}
 
.cc-nav-level-0 a,.cc-nav-level-0 a:link,.cc-nav-level-0 a:visited{
	box-sizing: border-box;
	moz-box-sizing: border-box;
	padding: 5px 10px;
	webkit-box-sizing: border-box;
}
 
.cc-nav-level-0 .cc-nav-current>a:link,.cc-nav-level-0 .cc-nav-current>a:visited,.cc-nav-level-0 a:active,.cc-nav-level-0 a:focus{
	border: 1px solid #ccc;
	color: #358d3f;
}
 
.cc-nav-level-0 a:hover{
	color: #358d3f;
}
 
.cc-nav-level-0{
	list-style-type: none;
	margin: 0;
	padding: 0;
}
 
.cc-nav-level-0 li{
	display: inline-block;
	margin: 0;
	padding: 0;
	position: relative;
}
 
.cc-nav-level-0 a:link,.cc-nav-level-0 a:visited{
	display: block;
	margin: 0;
	moz-transition: color 200ms ease-in,background-color 200ms ease-in,border 200ms ease-in;
	text-decoration: none;
	transition: color 200ms ease-in,background-color 200ms ease-in,border 200ms ease-in;
	webkit-transition: color 200ms ease-in,background-color 200ms ease-in,border 200ms ease-in;
}
 
.breadcrumb-options{
	box-sizing: border-box;
	margin-bottom: 10px;
	moz-box-sizing: border-box;
	padding-left: 5px;
	webkit-box-sizing: border-box;
}
 
.breadcrumb-options ol{
	list-style-type: none;
	margin: 0;
	padding: 0;
}
 
.breadcrumb-options li{
	display: inline-block;
}
 
.breadcrumb-options li:only-child{
	display: none;
}
 
.breadcrumb-options a{
	box-sizing: border-box;
	moz-box-sizing: border-box;
	moz-transition: color 200ms ease-in,background-color 200ms ease-in;
	padding: .2em .5em;
	transition: color 200ms ease-in,background-color 200ms ease-in;
	webkit-box-sizing: border-box;
	webkit-transition: color 200ms ease-in,background-color 200ms ease-in;
}
 
.breadcrumb-options a.cc-nav-current{
	color: #333;
	font-style: italic;
}
 
.breadcrumb-options a:link,.breadcrumb-options a:visited{
	font-size: 1.2rem;
	text-decoration: none;
}
 
.breadcrumb-options a:link:after,.breadcrumb-options a:visited:after{
	content: "\00bb";
	font-size: 1em;
	padding: 0 4px;
 
}
.breadcrumb-options a:link.cc-nav-current:after,.breadcrumb-options a:visited.cc-nav-current:after{
	content: "";
}
 
.breadcrumb-options a:active,.breadcrumb-options a:focus,.breadcrumb-options a:hover{
	color: #358d3f;
}
 
.navigation-colors a,.navigation-colors a:link,.navigation-colors a:visited{
	background-color: rgba(0,0,0,0);
	color: #7f7f7f;
	font-family: "Roboto",sans-serif,"google";
	font-size: 14.4px;
	font-style: normal;
	font-weight: normal;
	text-transform: uppercase;
}
 
.navigation-colors li a:hover,.navigation-colors li a:active,.navigation-colors li a:focus,.navigation-colors li.cc-nav-current>a:link,.navigation-colors li.cc-nav-current>a:visited{
	background-color: rgba(0,0,0,0);
	color: #9dae3f;
}
 
.content-options-inner h1:not(.cc-within-single-module-element):not(.j-blog-headline){
	color: #9dae3f;
	font-family: "Roboto",sans-serif,"google";
	font-size: 48px;
	font-style: normal;
	font-weight: normal;
	line-height: 50.40000153px;
	text-align: left;
	text-transform: none;
}
 
.content-options-inner h2:not(.j-blog-headline):not(.j-blog-comment-counter){
	color: #9dae3f;
	font-family: "Roboto",sans-serif,"google";
	font-size: 32px;
	font-style: normal;
	font-weight: normal;
	line-height: 40pxem;
	text-align: left;
	text-transform: none;
}
 
.content-options-inner h3{
	color: #9dae3f;
	font-family: "Roboto",sans-serif,"google";
	font-size: 24px;
	font-style: normal;
	font-weight: normal;
	line-height: 30px;
	text-align: left;
	text-transform: none;
}
 
.content-options-inner .j-htmlCode,.content-options-inner .j-text,.content-options-inner .sitemap{
	color: #7f7f7f;
	font-family: "Roboto",sans-serif,"google";
	font-size: 16px;
	line-height: 24px;
}
 
.content-options-inner .sitemap a:link,.content-options-inner .sitemap a:visited{
	color: #7f7f7f;
}
 
.content-options-inner .sitemap a:hover,.content-options-inner .sitemap a:active,.content-options-inner .sitemap a:focus{
	color: #9dae3f;
}
 
.footer-options a:link,.footer-options a:visited{
}
.breadcrumb-options a:link,.breadcrumb-options a:visited{
	font-family: "Roboto",sans-serif,"google";
	font-style: normal;
	font-weight: normal;
}
 
.body{
	background-attachment: scroll;
	background-color: #FFFFFF;
}
 
div#cc-inner{}
Si non, voilà le site. J'aimerais bien garder la forme (à l'exception du footer bien sûr).
J'ai fais pas mal de recherches et de test, jamais concluant (des fois ça marche avec peu de contenu et mon footer disparaît quand il y en a beaucoup, des fois le footer s'en fou,...)

D'avance merci.

Voilà, si vous avez des solutions, je suis preneur (si en plus vous avez des siggestions pour simplifier tout ce code, je suis preneur aussi, mes test n'ont pas été concluant non plus)