Ver Mensaje Individual
  #5 (permalink)  
Antiguo 23/11/2008, 14:59
Avatar de IMAC/
IMAC/
 
Fecha de Ingreso: octubre-2005
Mensajes: 738
Antigüedad: 18 años, 6 meses
Puntos: 14
Respuesta: Pestanas simples en css

No funciona tampoco shurshok.

He estado leyendo y he sacado esto, pero tengo un fallito, cuando está en la pestaña actual no se hacer que el color sea otro... ¿donde pongo eso?

Código HTML:
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<style>

  #header {
    float:left;
    width:100%;
    font-size:93%;
    line-height:normal;
    background: #972200;

    }
	
	#header ul {
    margin:0;
    padding:0;
    list-style:none;

    }
  #header li {
    float:left;
	background:url("imgs/upR.gif")
	no-repeat right top;
    margin:0;
    padding:0;
    }
	
  #header a {
	display:block;
	background:url("imgs/upL.gif")
    no-repeat left top;
    padding:5px 15px;
    }
	
/* Commented Backslash Hack hides rule from IE5-Mac \*/
  #header a {float:none;}
  /* End IE5-Mac hack */
	
  #header #current {
    background-image:url("imgs/upROver.gif");
	
    }
  #header #current a {
    background-image:url("imgs/upLOver.gif");
    }


</style>
<body bgcolor="#FFFFFF" text="#000000">
  <div id="header">

    <ul>
      <li><a href="#">Homeaaaaaaaaaaaaa</a></li>
      <li id="current"><a href="#">News</a></li>

      <li><a href="#">Products</a></li>
      <li><a href="#">About</a></li>
      <li><a href="#">Contact</a></li>

    </ul>
  </div>
</body>
</html>