AYUDA URGENTE, ESCALAR DIVS?
Publicado por Matias (1 intervención) el 08/02/2014 21:23:32
Hola chicos, soy nuevo en esto de programacion web, html, css,css3. Vengo con una pregunta de como hacer escalables los div que tengo con imagenes adentro que tienen un hipervinculo de paso:
Html
CSS
Algunas cosas en el css no las uso porque testie algo. Espero que me puedan ayudar! Si hay un problema de coding tambien! Gracias.
Html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Creactivity</title>
<link type="text/css" rel="stylesheet" href="stylesheet.css" />
</head>
<body>
<div id="apDiv1" ><a href="#"><img src="timbre1.png" width="38" height="38" /></a></div>
<div id="apDiv2"><a href="#"><img src="timbre1.png" width="38" height="38" /> </a></div>
<div id="apDiv3" ><img src="cartel.png" width="213" height="97" /></div>
<div id="apDiv4">
<a href="#">Educational Center</a><br /><a href="#">Instituto de idiomas</a>
</div>
<div id="apDiv5">
<a href="#">Professional Center</a> <br /><a href="#">Material didáctico para docentes</a>
</div>
<img style="width:100%;height:100%;" src="intro.jpg" />
<div id="footer" style="width:100%;"><br />FOOTERLINEA1<br /> FOOTERLINEA2<br />FOOTERLINEA1</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
@charset "utf-8";
/* CSS Document */
/* KEYFRAMES*/
@font-face
{
font-family: Curse;
src:url(Curse%20Casual.ttf);
}
@keyframes mover{
0% {opacity:0;}
100%{opacity:1;}
}
@keyframes opacidadIMG{
0% {opacity:0;}
100%{opacity:1;}
}
@-webkit-keyframes opacidadIMG{
0% {opacity:0;}
100%{opacity:1;}
}
@-webkit-keyframes mover{
0% {opacity:0;}
100%{opacity:1;}
}
/*SIGUE*/
body{
margin:0px;
padding:0;
}
#apDiv1 {
position: absolute;
left: 64%;
top: 20%;
width: 5%;
height: 5%;
}
#apDiv2 {
position: absolute;
left: 64%;
top: 27%;
width: 5%;
height: 5%;
}
#apDiv3 {
position: absolute;
left: 41%;
;
top: 14%;
width: 41%;
height: 14%;
}
#apDiv4 {
position: absolute;
left: 68%;
top: 19%;
width: 17%;
height: 7%;
text-align: center;
color: #FFF;
font-size: 22px;
font-family: Curse;
}
#apDiv5 {
position: absolute;
left: 68%;
top: 26%;
width: 17%;
height: 6%;
text-align: center;
color: #FFF;
font-size: 22px;
font-family: Curse;
}
div:first-child{
-webkit-animation:mover 5s;
animation:mover 5s;
}
div:nth-child(2){
-webkit-animation:mover 5s;
animation:mover 5s;
}
img:first-child{
-webkit-animation:opacidadIMG 5s;
animation:opacidadIMG 5s;
}
a:first-child{
-webkit-animation:opacidadIMG 5s;
animation:opacidadIMG 5s;
}
div a {
-webkit-animation:opacidadIMG 5s;
animation:opacidadIMG 5s;
}
#footer{
width:1280px;
height:155px;
background-color:#fff8c1;
opacity:1;
text-align:center;
font-size:20px;
font-family:Curse;
color:#fb4a21;
}
#imagen {
background:url(iconofb.png) no-repeat;
height:45px;
width:45px;
}
#imagen:hover{
background:url(iconofbhover.png) no-repeat;
height:45px;
width:45px;
}
.propiedad{
display:inline-block;
padding:10px;
margin-left:600px;
margin-top:45px;
}
a{
text-decoration:none;
color:#FFF;
}
a:nth-child(3){
padding:1px;
font-size:15px;
}
Algunas cosas en el css no las uso porque testie algo. Espero que me puedan ayudar! Si hay un problema de coding tambien! Gracias.
Valora esta pregunta


0