CSS - Extender capa principal al largo de la pagina

 
Vista:
sin imagen de perfil

Extender capa principal al largo de la pagina

Publicado por Carla (5 intervenciones) el 04/05/2016 09:57:26
Buenos días, necesito que el content principal (el que se muestra en la foto) llegue hasta el pie siempre independientemente del contenido que haya. Saludos y gracias!

Sin-titulo-1
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder
sin imagen de perfil

Extender capa principal al largo de la pagina

Publicado por DAVID (29 intervenciones) el 06/05/2016 15:59:11
Hola,
Pon el código fuente, porque sino, es difícil que te ayudemos,

Un saludo,
David
estudio de diseño grafico
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
1
Comentar
sin imagen de perfil

Extender capa principal al largo de la pagina

Publicado por Carla (5 intervenciones) el 12/05/2016 10:18:08
Aquí está el html


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
<!DOCTYPE html>
<!-- saved from url=(0046)http://cheesetoast.co.uk/demos/responsive.html -->
<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
 
<!-- viewport meta to reset iPhone inital scale -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
 
<title>PortalBio</title>
 
<!-- css3-mediaqueries.js for IE8 or older -->
<!--[if lt IE 9]>
	<script src="http://css3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js"></script>
<![endif]-->
 
<script type="text/javascript" async="" src="Responsive/ga.js"></script><script src="Responsive/jquery.min.js" type="text/javascript"></script>
<script src="Responsive/responsiveslides.min.js" type="text/javascript"></script>
<link href="css/style.css" rel="stylesheet" type="text/css" />
<!-- Include scripts -->
<script type="text/javascript" src="http://code.jquery.com/jquery.min.js"></script>
<script type="text/javascript" src="js/responsivemultimenu.js"></script>
 
<!-- Include styles -->
<link rel="stylesheet" href="css/responsivemultimenu.css" type="text/css"/>
 
<!-- Include media queries -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"/>
 
<link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
<script src="js/despegable.js" type="text/javascript"></script>
 
 
</head>
<body>
 
 
 
<div id="pagewrap">
<div id="header">
		<a href="index.php"><img src="img/logo.png" alt="logotipo"></a>
		<div class="floatt"><a href="mailto:info@portalbio.org"><img src="img/newsletter.png" ></a></div>
 
	</div><div class="rmm style">
	<ul class="rmm-menu" style="width: 950px;">
		<li>
			<a href="#">NOSOTROS</a>
			<ul>
				<li><a href="elportal.php">EL PORTAL</a></li>
				<li><a href="ecologico.php">POR QUÉ ECOLÓGICO</a></li>
				<li><a href="certificaciones.php">ECOLÓGICO-BIO-BIOLÓGICO-ORGÁNICO Y SUS CERTIFICACIONES</a></li>
 
			</ul>
		</li>
		<li>
			<a href="#">NUTRICIÓN</a>
			<ul>
				<li><a href="dietaequilibrada.php">DIETA EQUILIBRADA</a></li>
				<li><a href="dietaenfermedades.php">DIETA PARA DIFERENTES ENFERMEDADES</a></li>
				<li><a href="adelgazar.php">ADELGAZAR CON SALUD</a></li>
				<li><a href="dietasetapas.php">DIETAS SEGÚN ETAPA DE VIDA</a></li>
				<li><a href="dietasfamosas.php">DIETAS FAMOSAS: PROS Y CONTRAS</a></li>
				<li><a href="dieta-crudivora.php">DIETA CRUDÍVORA</a></li>
				<li><a href="dietadetox.php">DIETA DETOX</a></li>
				<li><a href="dietaalcalinizante.php">DIETA ALCALINIZANTE</a></li>
				<li><a href="ayunos.php">AYUNOS</a></li>
 
			</ul>
		</li>
		<li>
			<a href="#">SALUD</a>
			<ul>
				<li>
					<a href="enfermedades.php">PATOLOGÍAS DE LA A A LA Z</a>
				</li>
				<li>
					<a href="fitoenfermedades.php">FITOTERAPIA SEGÚN PATOLOGÍA</a>
				</li>
				<li>
					<a href="estresyansiedad.php">ESTRÉS Y ANSIEDAD</a>
				</li>
				<li>
					<a href="insomnio.php">INSOMNIO</a>
				</li>
				<li>
					<a href="rejuvenecimiento.php">REJUVENECIMIENTO</a>
				</li>
 
				<li>
					<a href="antitabaco.php">ANTITABACO</a>
				</li>
				<li>
					<a href="intestinolimpio.php">INTESTINO LIMPIO</a>
				</li>
 
				<li>
					<a href="higado.php">HÍGADO Y VESÍCULA SANOS</a>
				</li>
				<li>
					<a href="huesosfuertes.php">HUESOS FUERTES</a>
				</li>
				<li>
					<a href="pielsana.php">PIEL SANA</a>
				</li>
				<li>
					<a href="corazonfuerte.php">CORAZÓN FUERTE</a>
				</li>
 
				<li>
					<a href="peligros.php">PELIGROS</a>
				</li>
 
			</ul>
		</li>
		<li>
			<a href="fitoterapia.php">FITOTERAPIA</a>
		</li>
 
		<li>
			<a href="#">NUESTRO CUERPO</a>
			<ul>
				<li><a href="digestion.php">LA DIGESTIÓN</a></li>
				<li><a href="funcioneshigado.php">FUNCIONES DEL HÍGADO</a></li>
				<li><a href="funcionesrinyon.php">FUNCIONES DEL RIÑÓN</a></li>
				<li><a href="funcionescorazon.php">FUNCIONES DEL CORAZÓN</a></li>
				<li><a href="funcionescerebro.php">FUNCIONES DEL CEREBRO</a></li>
				<li><a href="lapiel.php">LA PIEL</a></li>
 
			</ul>
		</li>
		<li>
			<a href="#">TERAPIAS NATURALES Y ALTERNATIVAS
 
</a>
			<ul><li><a href="medicina-china.php">MEDICINA TRADICIONAL CHINA </a></li>
				<li><a href="sistemasintegrales.php">SISTEMAS INTEGRALES</a></li>
				<li><a href="practicasbiologicas.php">PRÁCTICAS BIOLÓGICAS</a></li>
				<li><a href="manipulacion.php">PRÁCTICAS DE MANIPULACIÓN</a></li>
				<li><a href="menteycuerpo.php">TÉCNICAS DE LA MENTE Y EL CUERPO</a></li>
				<li><a href="otrasterapias.php">OTRAS TERAPIAS</a></li>
 
			</ul>
		</li>
		<li>
			<a href="#">BELLEZA Y COSMÉTICA</a>
			<ul>
 
				<li><a href="cosmeticanatural.php">COSMÉTICA NATURAL</a></li>
 
			</ul>
		</li>
 
		<li>
			<a href="contacto.php">CONTACTO</a>
		</li>
	</ul>
</div>
 
	<div id="content2">
		<h1>FITOTERAPIA</h1>
		<hr>
		<table class="rwd-table">
		  <tr>
		    <th><h3><a href="acanto.php">Acanto</a><br><br>
				<a href="achiote.php">Achiote</a><br><br>
				<a href="aguacate.php">Aguacate</a><br><br>
				<a href="ajo.php">Ajo</a><br><br>
				<a href="alamo.php">Álamo temblón</a><br><br>
				<a href="albahaca.php">Albahaca</a><br><br>
				<a href="alfalfa.php">Alfalfa</a><br><br>
				<a href="amapola.php">Amapola de California</a><br><br>
				<a href="anis.php">Anís</a><br><br>
				<a href="berro.php">Berro</a><br><br>
				<a href="calabaza.php">Calabaza</a><br><br>
				<a href="cardo.php">Cardo Santo</a><br><br>
				<a href="cascara.php">Cáscara Sagrada</a><br><br>
				<a href="coladecaballo.php">Cola de Caballo</a><br><br>
				<a href="escaramujo.php">Escaramujo</a><br><br>
				<a href="eucalipto.php">Eucalipto</a><br><br>
				<a href="ginseng.php">Ginseng Americano</a><br><br>
				<a href="gordolobo.php">Gordolobo Europeo</a><br><br>
				<a href="laurel.php">Laurel</a><br><br>
				<a href="lavanda.php">Lavanda</a><br><br>
				<a href="lino.php">Lino</a>
 
				</h3>
			</th>
		    <th class="columna6"><h3>
		    	<a href="llanten.php">Llanten</a><br><br>
		    	<a href="lupulo.php">Lúpulo</a><br><br>
		    	<a href="malva.php">Malva</a><br><br>
 
		    	<a href="manzanilla.php">Manzanilla</a><br><br>
				<a href="marihuana.php">Marihuana</a><br><br>
				<a href="melisa.php">Melisa</a><br><br>
				<a href="menta.php">Menta</a><br><br>
 
				<a href="nopal.php">Nopal</a><br><br>
				<a href="oregano.php">Orégano</a><br><br>
				<a href="ortiga.php">Ortiga</a><br><br>
				<a href="pasionaria.php">Pasionaria</a><br><br>
				<a href="ricino.php">Ricino</a><br><br>
				<a href="romero.php">Romero</a><br><br>
				<a href="ruda.php">Ruda</a><br><br>
				<a href="salvia.php">Salvia</a><br><br>
 
				<a href="sauce.php">Sauce</a><br><br>
				<a href="sauco.php">Saúco</a><br><br>
				<a href="tomillo.php">Tomillo</a><br><br>
				<a href="verbena.php">Verbena</a><br><br>
				<a href="zabila.php">Zábila</a><br><br>
				<a href="zarzamora.php">Zarzamora</a>
 
			</th>
 
		  </tr>
 
		</table>
 
	</div>
 
 
		<div id="sidebar2">
 
		<div class="center">
		<h3 class="center">PRODUCTOS DESTACADOS</h3>
 
		<a href="http://bioportalia.es/index.php/propolis-extracto-50-ml.html">
			<img src="img/producto1.jpg" alt="producto"><br>
			<span class="nombre">Própolis, extracto 50 ml</span><br>
			<span class="precio">11,25 €</span></a><br><br>
		<a href="http://bioportalia.es/index.php/herboristeria/suplementos/omegastend-plus-30-perlas.html">
			<img src="img/producto2.jpg" alt="producto"><br>
			<span class="nombre">Omegastend Plus 30 perlas</span><br>
			<span class="precio">13,35 €</span></a><br><br>
			<a href="http://bioportalia.es/index.php/colagenova-marine-275-g.html">
			<img src="img/producto3.jpg" alt="producto"><br>
			<span class="nombre">Colagenova Marine 275 g</span><br>
			<span class="precio">22,50 €</span></a><br><br>
			<a href="http://bioportalia.es/index.php/normodigest-20-viales.html">
			<img src="img/producto4.jpg" alt="producto"><br>
			<span class="nombre">Normodigest 20 viales</span><br>
			<span class="precio">27,81 €</span></a><br><br>
 
</div>
 
	</div>
 
		<div id="footer">
		<a href="#"><img src="img/flecha.png" title="Ir arriba" style="position: fixed; bottom: 10px; right: 10%;" /></a>
		<a href="javascript:history.back()"><img src="img/flecha-2.png" title="Atrás" style="position: fixed; bottom: 10px; left: 10%;" /></a>
		<div class="pie"></div>
 
	</div>
</div>
 
<script>
  $(function () {
    $("#slides").responsiveSlides();
  });
</script>
 
 
</body></html>
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar
sin imagen de perfil

Extender capa principal al largo de la pagina

Publicado por Carla (5 intervenciones) el 12/05/2016 10:18:47
Y EL 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
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
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
.garantia{
	padding-left: 100px;
}
.redes2{
	padding-left: 350px;
	padding-bottom: 20px;
 
}
.redes{
	padding-bottom: 20px;
}
h3{
	color:#066231;
	font-size: 16px;
	font-weight: lighter;
	text-align: left;
}
 
.pie{
	color:white;
	font-size: 12px;
	background-color: #474E54;
	width: 940px;
	padding-left: 10px;
	text-align: center;
}
 
.pie>a{
	color:white !important;
}
.columna5{
	padding-left: 60px;
 
}
.columna6{
	padding-left: 120px;
 
}
p{
	color:#474E54;
	font-size: 14px;
}
ul{
 
	color:#474E54;
	font-size: 14px;
 
}
h2{
	color:#066231;
	font-size: 20px;
	font-weight: lighter;
}
h4{
	color:#066231;
	font-size: 20px;
	font-weight: lighter;
	text-align: center;
 
}
.floatt{
	float:right;
 
}
.precio{
	color:#066231;
	font-size: 18px;
	font-weight: bold;
 
}
.center{
	text-align: center !important;
}
.nombre{
 
	padding-top: 20px;
	font-size: 14px;
 
 
}
.nombre2{
	color:#066231;
 
}
.nombre3{
	text-align: center !important;
	color:#066231 !important; 
	font-size: 18px !important;
	padding-left: 20%;
}
.nombre5{
	text-align: center !important;
	color:#066231 !important; 
	font-size: 15px !important;
	padding-left: 12%;
}
.nombre4{
	position: absolute;
	color:#066231;
	font-size: 16px;
	padding-left: 10px;
}
.suscripcion{
	padding-top: 25px;
}
.nombre2{
	position: absolute;
 
	font-size: 16px;
	padding-left: 10px;
 
}
#slideshow{
	padding-top: 10px;
}
html { padding: 0; margin: 0; }
html, body { height: 100%;}
 
body {
	font: 1em/150%  'Open Sans', sans-serif;
	padding: 0; margin: 0;
	background-color: #B3D695;
 
 
}
a {
	color: #669;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
h1 {
	font:  30px/100% "Open Sans";
	font-weight: lighter;
	margin-bottom: 10px;
	color:#474E54;
}
 
#topbar {
	width: 100%;
	height: 35px;
	background: black;
	color: white;
	margin: 0;
	text-align: center;
	padding-top: 10px;
}
 
#topbar p { margin-top: 0px; }
 
#topbar a { color: orange; }
 
/************************************************************************************
STRUCTURE
*************************************************************************************/
#pagewrap {
	padding: 5px;
	width: 950px;
	margin: 5px auto;
	background-color: #B3D695;
	 height: 100%;
 
}
 
#header {
	height: 100px;
	padding: 0 15px;
	padding-bottom: 5px;
}
#content {
	width: 200px;
	float: left;
	padding: 5px 15px;
}
#content2 {
	width: 615px;
	float: left;
	padding: 5px 15px;
	 min-height: 100%;
}
 
#middle {
	width: 450px; /* Account for margins + border values */
	float: left;
	padding: 5px 15px;
	margin: 0px 5px 5px 5px;
	text-align: center !important;
}
 
#sidebar {
	width: 200px;
	padding: 5px 15px;
	float: right;
}
#sidebar2 {
	width: 250px;
	padding: 5px 15px;
	float: right;
	min-height: 100%;
}
#sidebar3 {
	width: 250px;
	padding: 5px 15px;
	float: right;
	min-height: 100%;
}
 
#footer {
	clear: both;
	padding: 0px;
 
 
 
}
 
/************************************************************************************
MEDIA QUERIES
*************************************************************************************/
/* for 980px or less */
@media screen and (max-width: 980px) {
 
	#pagewrap {
		width: 94%;
	}
	#content {
		width: 41%;
		padding: 1% 4%;
	}
	#content2 {
		width: 41%;
		padding: 1% 4%;
	}
	#middle {
		width: 41%;
		padding: 1% 4%;
		margin: 0px 0px 5px 5px;
		float: right;
 
	}
 
	#sidebar {
		width: 41%;
		padding: 1% 4%;
	}
	#sidebar2 {
		width: 41%;
		padding: 1% 4%;
	}
	#sidebar3 {
		width: 41%;
		padding: 1% 4%;
	}
 
	#header, #footer {
		padding: 1% 4%;
	}
}
 
/* for 800px or less 
@media screen and (max-width: 800px) {
	
	#pagewrap {
		width: 94%;
	}
	#content {
		width: 49%;
	}
	#content2 {
		width: 49%;
	}
	#middle {
		width: 49%;
		margin: 0px 0px 5px 0px;
		float: right;
	}
	
	#sidebar {
		width: 49%;
	}
	#sidebar2 {
		width: 49%;
	}
	#sidebar3 {
		width: 49%;
	}

}
*/
 
/* for 700px or less */
@media screen and (max-width: 600px) {
 
	#content {
		width: auto;
		float: none;
	}
	#content2 {
		width: auto;
		float: none;
	}
 
	#middle {
		width: auto;
		float: none;
		margin-left: 0px;
	}
 
	#sidebar {
		width: auto;
		float: none;
	}
	#sidebar2 {
		width: auto;
		float: none;
	}
	#sidebar3 {
		width: auto;
		float: none;
	}
 
}
 
/* for 480px or less */
@media screen and (max-width: 480px) {
 
	#header {
		height: auto;
	}
	h1 {
		font-size: 24px;
	}
	#sidebar {
		display: none;
	}
	#sidebar2 {
		display: none;
	}
	#sidebar3 {
		display: none;
	}
 
}
 
/* border & guideline (you can ignore these) */
#content {
	background: #eaf4e2;
 
}
#content2 {
	background: #eaf4e2;
	margin-right: 20px;
}
#sidebar {
	background: #f0efef;
}
#sidebar2 {
	background: #f0efef;
 
}
#sidebar3 {
	background: #f0efef;
}
#header, #content, #middle, #sidebar, #content2, #sidebar2, #sidebar3 {
	margin-bottom: 5px;
}
 
 
 
img {
	max-width: 100%;
	height: auto;
	width: auto\9; /* ie8 */
}
 
.rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
  }
 
.rslides li {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  }
 
.rslides img {
  display: block;
  height: auto;
  float: left;
  width: 100%;
  border: 0;
  }
 
 
 
$breakpoint-alpha: 480px; // adjust to your needs
 
.rwd-table {
  margin: 1em 0;
  min-width: 650px; // adjust to your needs
 
  tr {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
  }
 
  th {
    display: none; // for accessibility, use a visually hidden method here instead! Thanks, reddit!   
  }
 
  td {
    display: block;
 
    &:first-child {
      padding-top: .5em;
    }
    &:last-child {
      padding-bottom: .5em;
    }
 
    &:before {
      content: attr(data-th)": "; // who knew you could do this? The internet, that's who.
      font-weight: bold;
 
      // optional stuff to make it look nicer
      width: 6.5em; // magic number :( adjust according to your own content
      display: inline-block;
      // end options
 
      @media (min-width: $breakpoint-alpha) {
        display: none;
      }
    }
  }
 
  th, td {
    text-align: left;
 
    @media (min-width: $breakpoint-alpha) {
      display: table-cell;
      padding: .25em .5em;
 
      &:first-child {
        padding-left: 0;
      }
 
      &:last-child {
        padding-right: 0;
      }
    }
 
  }
 
 
}
 
 
// presentational styling
 
@import 'http://fonts.googleapis.com/css?family=Montserrat:300,400,700';
 
body {
  padding: 0 2em;
  font-family: Open Sans;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  color: #444;
  background: #eee;
}
 
h1 {
  font-weight: normal;
  letter-spacing: -1px;
  color: #34495E;
}
 
.rwd-table {
  background: #eaf4e2;
  color: #000;
  border-radius: .4em;
  overflow: hidden;
  tr {
    border: none;
  }
  th, td {
    margin: .5em 1em;
    @media (min-width: $breakpoint-alpha) {
      padding: 1em !important;
    }
  }
 
}
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar
sin imagen de perfil

Extender capa principal al largo de la pagina

Publicado por DAVID (29 intervenciones) el 12/05/2016 10:30:05
Me lo he descargado, pero falta código. Tienes la web online para verlo directamente?

Un saludo,
David
estudio de diseño web
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
1
Comentar
sin imagen de perfil

Extender capa principal al largo de la pagina

Publicado por Carla (5 intervenciones) el 12/05/2016 10:33:52
http://www.portalbio.org/

Aquí la tienes, muchas gracias por la ayuda.
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar
sin imagen de perfil

Extender capa principal al largo de la pagina

Publicado por DAVID (29 intervenciones) el 12/05/2016 10:37:56
Dime una opción donde no llegue hasta abajo, porque yo en todas, lo veo bien.

Un saludo,
David
estudio de diseño web
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
1
Comentar
sin imagen de perfil

Extender capa principal al largo de la pagina

Publicado por Carla (5 intervenciones) el 12/05/2016 10:39:18
Lo que quiero es que estén ambas a la misma altura, la sidebar no llega hasta abajo en algunas ocasiones, como aquí
http://www.portalbio.org/fitoterapia.php
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar
sin imagen de perfil

Extender capa principal al largo de la pagina

Publicado por DAVID (29 intervenciones) el 12/05/2016 11:00:33
mete el content y el sidebar, en una capa, que contenga a ambos. Y si el color blanco, se lo pones a la capa contenedora.

De todas formas aquí he encontrado un enlace que te lo explica de dos maneras distintas, y con ambas tiene que funcionar. míralo a ver.

http://stackoverflow.com/questions/18934141/set-div-height-to-fit-to-the-browser-using-css


Un saludo
David
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar
sin imagen de perfil

Extender capa principal al largo de la pagina

Publicado por walter (47 intervenciones) el 17/05/2016 14:57:35
debes crear un "clear". osea:
dentro den contenedor metes banner, y contenido general.
luego el clear y al final solito en footer.
fijate en esto:
http://www.sonidosdistantes.com.ar/health/

es responsive
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar
Imágen de perfil de Evan Hailey

Extender capa principal al largo de la pagina

Publicado por Evan Hailey (20 intervenciones) el 02/06/2016 17:05:32
Primero deberías acomodar el contenedor de esa side, veras que no ocupa el espacio que debería, prueba quitar ese 100% y pasarlo a "auto".
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar