Dreamweaver - Acomodar pagina

 
Vista:
sin imagen de perfil

Acomodar pagina

Publicado por asgard0423 (6 intervenciones) el 16/07/2014 20:02:16
Hola compañeros, disculpen el atrevimiento.

Pero no logro acomodar la pagina.

Esto es lo que deseo.

Que la imagen de fondo y el footer sean del ancho de la pagina (1200)

En el penúltimo DIV, los link y el contacto estén en horizontal.


Aqui el codigo.

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
<!doctype html>
<html>
<head>
 
</head>
<meta charset="utf-8">
<!-- TemplateBeginEditable name="doctitle" -->
<title>Documento sin título</title>
<!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
<link href="../css/estilodepagina.css" rel="stylesheet" type="text/css">
<style type="text/css">
#apDiv1 {
	position: absolute;
	width: 200px;
	height: 115px;
	z-index: 1;
}
 
<script src="../js/jquery-1.6.3.min.js" type="text/javascript"></script>
		<script src="../js/cufon-yui.js" type="text/javascript"></script>
		<script src="../js/cufon-replace.js" type="text/javascript"></script>
		<script src="../js/Mate_400.font.js" type="text/javascript"></script>
		<script src="../js/FF-cash.js" type="text/javascript"></script>
		<script src="../js/tms-0.3.js" type="text/javascript"></script>
		<script src="../js/tms_presets.js" type="text/javascript"></script>
		<script src="../js/jquery.easing.1.3.js" type="text/javascript"></script>
</style>
<!--[if lte IE 7]>
<style>
.content { margin-right: -1px; }
ul.nav a { zoom: 1; } 
</style>
<![endif]-->
</head>
 
<body>
 
<div id="logo"> <img src="../imagenes/quienes.png"
		</div>
 
 <div class="container">
  <div class="header"><nav>
            <ul class="fancyNav">
                <li id="home"><a href="#home" class="homeIcon">home</a></li>
                <li id="news"><a href="#news">Quienes Somos?</a></li>
                <li id="about"><a href="#about">Mensaje</a></li>
                <li id="services"><a href="#services">Organigrama</a></li>
                <li id="contact"><a href="#contact">Contacto</a></li>
              <li id="about"><a href="#about">Pago en linea</a></li>
     </ul>
   </nav></div>
 
      <body>
 
 
</div>
 
  <div class="content">
 
 
    <!-- Ini Slider -->
 
 
<div class="wrapper">
	<div class="slider-wrapper">
							<div class="slider">
								<ul class="items">
									<li><img src="../imagenes/municipo grande.png" alt="" /></li>
									<li><img src="../imagenes/3331-1.jpg" alt="" /></li>
									<li><img src="../imagenes/354675-svetik.jpg" alt="" /></li>
								</ul>
							</div>
							<a class="prev" href="#"></a>
							<a class="next" href="#"></a>
						</div>
 
<script type="text/javascript"> Cufon.now(); </script><script type="text/javascript">
			$(window).load(function() {
				$('.slider')._TMS({
					duration:800,
					easing:'easeOutQuad',
					preset:'simpleFade',
					slideshow:7000,
					banners:false,
					pauseOnHover:true,
					pagination:false,
					nextBu:'.next',
					prevBu:'.prev'
				});
			});
		</script>
 
    <!-- Fin Slider -->
 
 
<h1>Instrucciones</h1>
 
 
 
    </div>
 
  <!-- end .container --></div>
 
  <!---           Botones                   --->
    <div class="locacion">
 
    <!-- Clima -->
 
 
    <!-- End clima -->
 
 
    <!-- Servicios -->
 
    <div>
    <a href="http://www.nuevolaredo.gob.mx/ciac/"><img src="../imagenes/ciac.png"></a>
    </div>
 
    <!-- End servicios -->
 
 
    <!-- CIAC -->
 
    <div>
    <a href="http://www.nuevolaredo.gob.mx/ciac/"><img src="../imagenes/ciac.png"></a>
    </div>
 
    <!-- End CIAC -->
 
 
    <!-- Contacto-->
 
       <form class="css3Form">
  <h1>Contacto</h1>
  <ul>
    <li><input type="text" value="Nombre"/></li>
    <li><input type="text" value="Correo"/></li>
    <li><textarea rows="5"> Comentario </textarea></li>
  </ul>
  <input type="button" class="button" value="Enviar" />
</form>
 
	<!-- End Contacto-->
 
    </div>
 
  <!---           End Botones               --->
 
  <div class="footer">
    <p>COMAPA NUEVO LAREDO 2014 © Tel. (867) 890-0900</p>
 
    <!-- end .footer --></div>
 
 
 
</body>
</html>

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
@charset "utf-8";
body {
	font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif;
	padding: 0;
	color: #000;
	background-repeat: no-repeat;
	width: 1200px;
	margin: 0;
	background-position: right top;
	background-image: url(../imagenes/municipio%20header.png);
	background-attachment: scroll;
	background-repeat: no-repeat;
	background-color: #999;
 
   }
 
 
ul, ol, dl {
	padding: 0;
	margin: 0;
}
h1, h2, h3, h4, h5, h6, p {
	margin-top: 0;
	padding-right: 15px;
	padding-left: 15px;
}
a img {
	border: none;
}
 
a:link {
	color:#414958;
	text-decoration: underline;
}
a:visited {
	color: #4E5869;
	text-decoration: underline;
}
a:hover, a:active, a:focus {
	text-decoration: none;
}
 
.container {
	max-width: 900px;
	min-width: 780px;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: 130px;
	left: auto;
	right: auto;
	clip: rect(auto,auto,auto,auto);
	width: 900px;
	position: relative;
	top: auto;
	bottom: auto;
	background-repeat: repeat-y;
 
}
 
.header {
	margin-top: 15px;
	position: relative;
	clip: rect(auto,auto,auto,auto);
	margin-left: 0px;
	margin-right: -20px;
	float: none;
	visibility: visible;
	width: 900px;
	text-decoration: blink;
	border-radius: 18px 18px;
	-moz-border-radius: 18px 18px;
}
 
 
.content {
	clip: rect(auto,auto,auto,auto);
	width: 900px;
	float: none;
	margin-left: 130px;
	border-radius: 18px 18px;
	-moz-border-radius: 18px 18px;
	background-image: url(../imagenes/Fondocontent.png);
	background-repeat: repeat;
}
 
.formulario {
	background-image: url(../imagenes/bedge_grunge/bedge_grunge.png);
	background-repeat: repeat;
	border-radius: 9px 9px;
	-moz-border-radius: 9px 9px;
}
#contactoformu {
	margin-left: 60px;
}
/** BOTONES **/
 
/** Locacion **/
 
 
.locacion  {
	background-color: ;
	clip: rect(auto,auto,auto,auto);
	width: 900px;
	float: center;
	margin-left: 0px;
	border-radius: 18px 18px;
	-moz-border-radius: 18px 18px;
	background-image: url(../imagenes/fondogris.png); background-repeat:repeat
	margin-right: auto;
	margin-bottom: 0;
	margin-left: 130px;
 
 
}
 
/**contactocss3**/
 
<br>
.css3Form ul li<br>
{<br>
    margin:10px 0;<br>
    box-shadow: 1px 1px 0 0 #949494;<br>
    -moz-box-shadow: 1px 1px 0 0 #949494;<br>
    -webkit-box-shadow: 1px 1px 0 0 #949494;<br>
        border-radius: 18px 18px;<br>
    -moz-border-radius: 18px 18px;<br>
    -webkit-border-radius: 18px 18px;   <br>
 <br>
    float:left;<br>
    clear:both<br>
}<br>
.css3Form input, .css3Form textarea<br>
{<br>
    margin:0;<br>
    width:300px;<br>
    padding: 8px 10px;<br>
    font-size:16px;<br>
    color:#b3b3b3;<br>
    border:solid 1px #585858;<br>
    text-shadow: 1px 1px 0 #4b4b4b; <br>
 <br>
    border-radius: 18px 18px;<br>
    -moz-border-radius: 18px 18px;<br>
    -webkit-border-radius: 18px 18px;       <br>
 <br>
    box-shadow: inset 1px 1px 3px 0 #000;<br>
    -moz-box-shadow: inset 1px 1px 3px 0 #000;<br>
    -webkit-box-shadow: inset 1px 1px 3px 0 #000;<br>
 <br>
    background:-moz-linear-gradient(0% 100% 90deg,#7e7e7e, #5e5e5e);<br>
    background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#5e5e5e), to(#7e7e7e));<br>
 <br>
}<br>
.css3Form .button<br>
{<br>
    width:150px;<br>
    border:solid 1px #bababa;<br>
    color:#363636;<br>
    font-weight:bold;<br>
    font-size:18px;<br>
    border-bottom-color:#363636;<br>
    background:-moz-linear-gradient(0% 100% 90deg,#5f5f5f, #9e9e9e);<br>
    background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#9e9e9e), to(#5f5f5f));    <br>
 <br>
    box-shadow: none;<br>
    -moz-box-shadow: none;<br>
    -webkit-box-shadow: none;<br>
 <br>
    text-shadow: 1px 1px 0 #9d9d9d; <br>
}<br>
 
/** End contactocss3 **/
 
.content ul, .content ol {
	padding: 0 15px 15px 40px;
}
 
/** Slider **/
 
.slider-wrapper {
	width:900px;
	height:300px;
	padding:10px 0 0 15px;
	background:  0 0 no-repeat;
	overflow:hidden;
	position:relative;
	z-index:1;
	float:center;
	margin:0 15px 0 2px;
}
.slider {
	position:relative;
	width:390px;
	height:267px;
}
.items {display:none;}
 
.next,
.prev {
	display: block;
	width: 45px;
	height: 43px;
	cursor: pointer;
	position: absolute;
	z-index: 99;
	top: 84px;
}
.next {
	background: url(../imagenes/next.png) 0 0 no-repeat;
	right: 109px; opacity:0.3;
}
.prev {
	background: url(../imagenes/prev.png) 0 0 no-repeat;
	left:-5px; opacity:0.3;
}
 
.title-1 {
	display: block;
	font-size: 53px;
	line-height: 1.2em;
	color: #000066;
	text-transform: uppercase;
	margin-bottom: -10px;
}
.title-2 {
	display: block;
	font-size: 36px;
	line-height: 1.2em;
	color: #006699;
	margin-bottom: 17px;
	letter-spacing: -1px;
}
 
/** Logo **/
 
#logo
{
	position: absolute;
	top: 2em;
	left: 15px;
	width: 100%;
}
 
#logo h1
{
	display: inline-block;
	font-size: 2.5em;
	text-transform: uppercase;
	font-weight: 700;
	color: #FFF;
}
 
#logo a
{
	text-decoration: none;
	color: #FFF;
}
 
/** Menu **/
 
.fancyNav{
	/* Affects the UL element */
	overflow: hidden;
	display: inline-block;
}
 
.fancyNav li{
	/* Specifying a fallback color and we define CSS3 gradients for the major browsers: */
 
	background-color: #f0f0f0;
	background-image: -webkit-gradient(linear,left top, left bottom,from(#fefefe), color-stop(0.5,#f0f0f0), color-stop(0.51, #e6e6e6));
	background-image: -moz-linear-gradient(#fefefe 0%, #f0f0f0 50%, #e6e6e6 51%);
	background-image: -o-linear-gradient(#fefefe 0%, #f0f0f0 50%, #e6e6e6 51%);
	background-image: -ms-linear-gradient(#fefefe 0%, #f0f0f0 50%, #e6e6e6 51%);
	background-image: linear-gradient(#fefefe 0%, #f0f0f0 50%, #e6e6e6 51%);
 
	border-right: 1px solid rgba(9, 9, 9, 0.125);
 
	/* Adding a 1px inset highlight for a more polished efect: */
 
	box-shadow: 1px -1px 0 rgba(255, 255, 255, 0.6) inset;
	-moz-box-shadow: 1px -1px 0 rgba(255, 255, 255, 0.6) inset;
	-webkit-box-shadow: 1px -1px 0 rgba(255, 255, 255, 0.6) inset;
 
	position:relative;
 
	float: left;
	list-style: none;
}
 
.fancyNav li:after{
 
	/* This creates a pseudo element inslide each LI */
 
	content:'.';
	text-indent:-9999px;
	overflow:hidden;
	position:absolute;
	width:100%;
	height:100%;
	top:0;
	left:0;
	z-index:1;
	opacity:0;
 
	/* Gradients! */
 
	background-image:-webkit-gradient(linear, left top, right top, from(rgba(168,168,168,0.5)),color-stop(0.5,rgba(168,168,168,0)), to(rgba(168,168,168,0.5)));
	background-image:-moz-linear-gradient(left, rgba(168,168,168,0.5), rgba(168,168,168,0) 50%, rgba(168,168,168,0.5));
	background-image:-o-linear-gradient(left, rgba(168,168,168,0.5), rgba(168,168,168,0) 50%, rgba(168,168,168,0.5));
	background-image:-ms-linear-gradient(left, rgba(168,168,168,0.5), rgba(168,168,168,0) 50%, rgba(168,168,168,0.5));
	background-image:linear-gradient(left, rgba(168,168,168,0.5), rgba(168,168,168,0) 50%, rgba(168,168,168,0.5));
 
	/* Creating borders with box-shadow. Useful, as they don't affect the size of the element. */
	
	box-shadow:-1px 0 0 #a3a3a3,-2px 0 0 #fff,1px 0 0 #a3a3a3,2px 0 0 #fff;
	-moz-box-shadow:-1px 0 0 #a3a3a3,-2px 0 0 #fff,1px 0 0 #a3a3a3,2px 0 0 #fff;
	-webkit-box-shadow:-1px 0 0 #a3a3a3,-2px 0 0 #fff,1px 0 0 #a3a3a3,2px 0 0 #fff;
	
	/* This will create a smooth transition for the opacity property */
	
	-moz-transition:0.25s all;
	-webkit-transition:0.25s all;
	-o-transition:0.25s all;
	transition:0.25s all;
}

/* Treating the first LI and li:after elements separately */

.fancyNav li:first-child{
	border-radius: 4px 0 0 4px;
}

.fancyNav li:first-child:after,
.fancyNav li.selected:first-child:after{
	box-shadow:1px 0 0 #a3a3a3,2px 0 0 #fff;
	-moz-box-shadow:1px 0 0 #a3a3a3,2px 0 0 #fff;
	-webkit-box-shadow:1px 0 0 #a3a3a3,2px 0 0 #fff;
	
	border-radius:4px 0 0 4px;
}

.fancyNav li:last-child{
	border-radius: 0 4px 4px 0;
}

/* Treating the last LI and li:after elements separately */

.fancyNav li:last-child:after,
.fancyNav li.selected:last-child:after{
	box-shadow:-1px 0 0 #a3a3a3,-2px 0 0 #fff;
	-moz-box-shadow:-1px 0 0 #a3a3a3,-2px 0 0 #fff;
	-webkit-box-shadow:-1px 0 0 #a3a3a3,-2px 0 0 #fff;
	
	border-radius:0 4px 4px 0;
}

.fancyNav li:hover:after,
.fancyNav li.selected:after,
.fancyNav li:target:after{
	/* This property triggers the CSS3 transition */
	opacity:1;
}

.fancyNav:hover li.selected:after,
.fancyNav:hover li:target:after{
	/* Hides the targeted li when we are hovering on the UL */
	opacity:0;
}

.fancyNav li.selected:hover:after,
.fancyNav li:target:hover:after{
	opacity:1 !important;
}

/* Styling the anchor elements */

.fancyNav li a{
	color: #5d5d5d;
	display: inline-block;
	font: 19px/1 Lobster,Arial,sans-serif;
	padding: 12px 33px 14px;
	position: relative;
	text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.6);
	z-index:2;
	text-decoration:none !important;
	white-space:nowrap;
}

.fancyNav a.homeIcon{
	background: url(file:///C|/Users/OLIVAS/Desktop/Jesus%20Santos/WEB/Plantillas/Pagina%20comapa/imagenes/favicon.png)no-repeat center center;
	display: block;
	overflow: hidden;
	padding-left: 12px;
	padding-right: 12px;
	text-indent: -9999px;
	width: 16px;
}

nav{
	display: block;
	margin:0px auto 0;
	text-align: center;
	width: 900px;
}

/** end menu**/


.footer {
	position: ;
	padding-top: 10px;
	padding-right: 0;
	padding-bottom: 10px;
	background-image: url(../imagenes/footermunicipiopng.png);
	background-position: center center;
	background-attachment: scroll;
	background-repeat: no-repeat;
	clear: none;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	float: none;
	width: 1200px;
	margin-left: 0px;
}

/* ~~ clases float/clear varias ~~ */
.fltrt {  
	float: right;
	margin-left: 8px;
}
.fltlft { 
	float: left;
	margin-right: 8px;
}
.clearfloat {
	clear:both;
	height:0;
	font-size: 1px;
	line-height: 0px;
}



Ya me saco canas verdes este dreamweaver, que hace lo que quiere.

:D

Muchas gracias, espero no ser abusivo con mi petición.
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
Imágen de perfil de xve
Val: 96
Oro
Ha mantenido su posición en Dreamweaver (en relación al último mes)
Gráfica de Dreamweaver

Acomodar pagina

Publicado por xve (369 intervenciones) el 17/07/2014 09:00:13
Hola, he revisado tu código CSS y tu pagina, y en el footer te falta poner el padding-left:130px; como en el resto de capas, para que estén todos a la misma posición.

Espero que sea esto lo que buscas...
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

Acomodar pagina

Publicado por asgard0423 (6 intervenciones) el 17/07/2014 19:20:58
Excelente.

Soy principiante en esto asi que disculpa las molestias.

Mira, ya se ha extendido el footer, pero cuando muestro la pagina en el buscador y aparece las orillas grises,

Lo que me sale.



Lo que deseo:

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

Acomodar pagina

Publicado por asgard0423 (6 intervenciones) el 17/07/2014 19:25:30
Disculpa el tamaño, mira.

Lo que me sale:



Lo que deseo:



Gracias
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