
CSS no se muestra en HTML
Publicado por Leonardo (1 intervención) el 01/12/2015 16:08:55
Hola gente, les escribo porque tengo un menu hecho en un archivo externo CSS y cuando lo quise llamar desde HTML no me muestra la parte de diseño. A continuación les dejo los dos archivos,
HTML:
CSS:
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
<html>
<head>
<title>Trabajo práctico Nº2.</title>
<link rel=StyleSheet href="/xampp/htdocs/TP/estilo.css" type="text/css">
<meta charset="utf-8">
</head>
<body>
<ul id=”button”>
<li><a href=”parabrisas.html”>Parabrisas</a></li>
<li><a href=”motor.html”>Motor</a></li>
<li><a href=”puerta.html”>Puerta</a></li>
</ul>
<br>
<br>
<br>
<map name="areas">
<area shape="rect" coords="129,100,253,140" href="parabrisas.html">
</area>
<area shape="rect" coords="253,101,322,174" href="puerta.html">
</area>
<area shape="rect" coords="221,138,57,197" href="motor.html">
</area>
</map>
<center><img src="imagenes/auto.jpg" usemap="#areas"></center>
</body>
</html>
CSS:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#button li {
display: inline;
}
#button li a {
font-family: Arial;
font-size:11px;
text-decoration: none;
float:left;
padding: 10px;
background-color: #2175bc;
color: #fff;
}
#button li a:hover {
background-color: #2586d7;
margin-top:-2px;
padding-bottom:12px;
}
Valora esta pregunta


0