Quitar scrolling o esquematizar html
Publicado por David (3 intervenciones) el 18/04/2018 15:12:36
Hola a todos, buen día/tarde,
busco ayuda directamente aquí por que no se que hacer y no tengo tiempo para hacer el típico prueba y error...
tengo el código html y necesito que todo se vea en la pantalla sin necesidad de usar scrolling (desplazar la pantalla con la rueda del mouse) si alguien me puede ayudar le estaría eternamente agradecido.
codigo:
anexo el css por si tiene algo que ver ( la verdad no tengo ni idea T.T)
css:
Gracias por su tiempo!
busco ayuda directamente aquí por que no se que hacer y no tengo tiempo para hacer el típico prueba y error...
tengo el código html y necesito que todo se vea en la pantalla sin necesidad de usar scrolling (desplazar la pantalla con la rueda del mouse) si alguien me puede ayudar le estaría eternamente agradecido.
codigo:
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
<html>
<head>
<meta charset="utf-8">
<title>Formulario de Hoja de Vida</title>
<link href="estilos.css" rel="stylesheet" type="text/css">
</head>
<body>
<div class="group">
<form action="registro.php" method="POST">
<h2><em>Hoja de vida</em></h2>
<h3>presentacion</h3>
<label for="nombre">Nombre <span><em>(requerido)</em></span></label>
<input type="text" name="nombre" class="form-input" required/>
<label for="apellido">Apellido <span><em>(requerido)</em></span></label>
<input type="text" name="apellido" class="form-input" required/>
<label for="edad">Edad <span><em>(requerido)</em></span></label>
<input type="text" name="edad" class="form-input" required/>
<label for="direccion">Direccion<span><em>(requerido)</em></span></label>
<input type="text" name="direccion" class="form-input" required/>
<label for="telefono">Telefono <span><em>(requerido)</em></span></label>
<input type="text" name="telefono" class="form-input" required/>
<label for="email">Email <span><em>(requerido)</em></span></label>
<input type="email" name="email" class="form-input" />
<h3>Estudios</h3>
<label for="ep">Escuela Primaria <span><em></em></span></label>
<input type="text" name="ep" class="form-input1" required/>
<label for="eb">Escuela bachiller <span><em></em></span></label>
<input type="text" name="eb" class="form-input1" required/>
<label for="eu">Estudi Universitario <span><em></em></span></label>
<input type="text" name="eu" class="form-input1"/>
<label for="cono">Conocimientos<span><em></em></span></label>
<input type="text" name="cono" class="form-input1" />
<h3>Experiencia laboral</h3>
<label for="ep1">Empresa 1 <span><em></em></span></label>
<input type="text" name="ep1" class="form-input1" required/>
<label for="ep2">Empresa 2 <span><em></em></span></label>
<input type="text" name="ep3" class="form-input1" required/>
<label for="ep3">Empresa 3 <span><em></em></span></label>
<input type="text" name="ep3" class="form-input1"/>
<center> <input class="form-btn" name="submit" type="submit" value="registrarse" /></center>
</form>
</div>
</body>
</html>
anexo el css por si tiene algo que ver ( la verdad no tengo ni idea T.T)
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
body {
background: rgb(125,185,232); /* Old browsers */
background: -moz-linear-gradient(top, rgba(125,185,232,1) 71%, rgba(125,185,232,1) 99%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(71%,rgba(125,185,232,1)), color-stop(99%,rgba(125,185,232,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(125,185,232,1) 71%,rgba(125,185,232,1) 99%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(125,185,232,1) 71%,rgba(125,185,232,1) 99%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(125,185,232,1) 71%,rgba(125,185,232,1) 99%); /* IE10+ */
background: linear-gradient(to bottom, rgba(125,185,232,1) 71%,rgba(125,185,232,1) 99%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7db9e8', endColorstr='#7db9e8',GradientType=0 ); /* IE6-9 */
color: #000;
font-family: "Century Gothic";
font-size: 16px;
line-height: 1.6;
}
h2 {
color: #000
font-family: Verdana, Geneva, sans-serif;
font-size: 22px;
margin: 15px;
text-align: center;
}
.group {
border: 3px solid #999999;
padding: 20px;
width: 400px;
color: #006;
border-radius: 8px;
border-color:#036;
background: rgb(255,255,255); /* Old browsers */
background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(209,238,255,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(100%,rgba(209,238,255,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(209,238,255,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(209,238,255,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(209,238,255,1) 100%); /* IE10+ */
background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(209,238,255,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#d1eeff',GradientType=0 ); /* IE6-9 */
margin-top: 0;
margin-right: auto;
margin-bottom: 0;
margin-left: auto;
}
.contact-form {
width: 400px;
text-align: left;
}
/* Form input box style */
.form-input {
display: block;
width: 200px;
height: 25px;
margin-bottom: 25px;
color: #000;
background-color: #FF9;
border: 1px solid #999;
box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.7), 0 1px 0 rgba(255, 255, 255, 0.1);
-moz-transition: all 0.4s ease-in-out;
-webkit-transition: all 0.4s ease-in-out;
-o-transition: all 0.4s ease-in-out;
-ms-transition: all 0.4s ease-in-out;
transition: all 0.4s ease-in-out;
font-family: "Century Gothic";
font-size: 14px;
padding-top: 5px;
padding-right: 10px;
padding-bottom: 5px;
padding-left: 10px;
}
.form-input1 {
display: block;
width: 400px;
height: 250px;
margin-bottom: 25px;
color: #000;
background-color: #FF9;
border: 1px solid #999;
box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.7), 0 1px 0 rgba(255, 255, 255, 0.1);
-moz-transition: all 0.4s ease-in-out;
-webkit-transition: all 0.4s ease-in-out;
-o-transition: all 0.4s ease-in-out;
-ms-transition: all 0.4s ease-in-out;
transition: all 0.4s ease-in-out;
font-family: "Century Gothic";
font-size: 14px;
padding-top: 5px;
padding-right: 10px;
padding-bottom: 5px;
padding-left: 10px;
}
/* Focus style */
.form-input:focus {
border: 1px solid #7fbbf9;
-moz-box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.7), 0 0 1px #7fbbf9;
-webkit-box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.7), 0 0 1px #7fbbf9;
box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.7), 0 0 1px #7fbbf9;
}
/* Error style */
.form-input:-moz-ui-invalid {
border: 1px solid #e00;
-moz-box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.7), 0 0 1px #e00;
-webkit-box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.7), 0 0 1px #e00;
box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.7), 0 0 1px #e00;
}
.form-input.invalid {
border: 1px solid #e00;
-moz-box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.7), 0 0 1px #e00;
-webkit-box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.7), 0 0 1px #e00;
box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.7), 0 0 1px #e00;
}
/* Form submit button */
.form-btn {
padding: 0 15px;
height: 30px;
font: bold 12px 'Helvetica Neue', Helvetica, Arial, sans-serif;
text-align: center;
color: #fff;
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.7);
cursor: pointer;
border: 1px solid #0d3d6a;
outline: none;
position: relative;
background-color: #1d83e2;
background-image: -webkit-gradient(linear, left top, left bottom, from(#1d83e2), to(#0d3d6a)); /* Saf4+, Chrome */
background-image: -webkit-linear-gradient(top, #1d83e2, #0d3d6a); /* Chrome 10+, Saf5.1+, iOS 5+ */
background-image: -moz-linear-gradient(top, #1d83e2, #0d3d6a); /* FF3.6 */
background-image: -ms-linear-gradient(top, #1d83e2, #0d3d6a); /* IE10 */
background-image: -o-linear-gradient(top, #1d83e2, #0d3d6a); /* Opera 11.10+ */
background-image: linear-gradient(top, #1d83e2, #0d3d6a);
-pie-background: linear-gradient(top, #1d83e2, #0d3d6a); /* IE6-IE9 */
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 1px 2px rgba(0, 0, 0, 0.7);
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 1px 2px rgba(0, 0, 0, 0.7);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 1px 2px rgba(0, 0, 0, 0.7);
-moz-background-clip: padding;
-webkit-background-clip: padding-box;
background-clip: padding-box;
behavior: url(PIE.htc);
}
.form-btn:active {
border: 1px solid #1d83e2;
background-color: #0d3d6a;
background-image: -webkit-gradient(linear, left top, left bottom, from(#0d3d6a), to(#1d83e2)); /* Saf4+, Chrome */
background-image: -webkit-linear-gradient(top, #0d3d6a, #1d83e2); /* Chrome 10+, Saf5.1+, iOS 5+ */
background-image: -moz-linear-gradient(top, #0d3d6a, #1d83e2); /* FF3.6 */
background-image: -ms-linear-gradient(top, #0d3d6a, #1d83e2); /* IE10 */
background-image: -o-linear-gradient(top, #0d3d6a, #1d83e2); /* Opera 11.10+ */
background-image: linear-gradient(top, #0d3d6a, #1d83e2);
-pie-background: linear-gradient(top, #0d3d6a, #1d83e2); /* IE6-IE9 */
-moz-box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.7), 0 1px 0 rgba(255, 255, 255, 0.1);
-webkit-box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.7), 0 1px 0 rgba(255, 255, 255, 0.1);
box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.7), 0 1px 0 rgba(255, 255, 255, 0.1);
behavior: url(PIE.htc);
}
label {
margin-bottom: 8px;
display: block;
width: 300px;
color: #003;
font-size: 14px;
font-weight: bold;
}
label span {
font-size: 12px;
color:#333;
font-weight: normal;
}
.contact-form.frame {
background-color: #444444;
border: 1px solid #CCCCCC;
padding: 20px;
}
Gracias por su tiempo!
Valora esta pregunta
0