Ver Mensaje Individual
  #9 (permalink)  
Antiguo 16/02/2010, 21:21
Avatar de willyfc
willyfc
 
Fecha de Ingreso: octubre-2008
Ubicación: Santa Cruz - Bolivia
Mensajes: 662
Antigüedad: 15 años, 7 meses
Puntos: 40
Respuesta: Estilo del link según la pagina ?

Podrías hacerlo de esta manera:

Código HTML:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es" lang="es-es">
  3. <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  4. <title>navegacion</title>
  5. <style type="">
  6. #menu ul{ list-style:none; padding:6px 0 0 0; }
  7. #menu ul li{display:inline;}
  8. #menu ul li a{ font-size:0.8em; color:#FFF; text-decoration:none; font-weight:bold; padding:0 7px 0 7px;color: #333}
  9. #menu ul li a:hover,a:focus,a:active{border-bottom:2px solid #98AD21;color: #333}
  10. #menu ul li a.current{border-bottom:2px solid #98AD21;color: #333}
  11. </head>
  12. <div id="menu">
  13.     <ul>
  14.         <li><a href="#">menu1</a></li>
  15.         <li><a href="#" class="current">menu2</a></li>
  16.         <li><a href="#">menu3</a></li>
  17.         <li><a href="#">menu4</a></li>
  18.     </ul>
  19. </div>
  20. </body>
  21. </html>

asignas la clase "current" según el archivo donde estes.
__________________
WFC
codigo82