Ver Mensaje Individual
  #6 (permalink)  
Antiguo 10/06/2009, 16:52
kseso?
Colaborador
 
Fecha de Ingreso: junio-2007
Mensajes: 5.798
Antigüedad: 16 años, 10 meses
Puntos: 539
Respuesta: Como hacer enlace que ocupe todo el contenedor

Con tu código, añadiendo un borde para que veas la zona sensible y un pequeño cambio del color de fondo para el :hover.
En mi primera respuesta, creo que entendí al reves lo del block. Disculpas.
Ahora sólo tienes que cambiar alguna cosilla para adaptarlo a tus necesidades.
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. <title>Caja Fija</title>
  4. <style type="text/css">
  5. * {margin:0; padding: 0; position: relative;}
  6. #menuseccion{height:19px;width:433px;background:#7 F8BA1;margin:0 0 0 310px;}
  7. #menuseccion a{font-size:7pt;text-decoration:none; color:#2E3852;margin-left:13px;display:inline-block; padding:10px; border:1px solid #000;}
  8. #menuseccion a:hover {background: #cdcdcd;}
  9. </head>
  10. <div id="menuseccion">
  11. <a href="nav.html">Nav</a>
  12. <b>></b>
  13. <a href="made.html">Made</a>
  14. <b>></b>
  15. <a href="agro.html">Agro</a>
  16. <b>></b>
  17. <a href="aero.html">Aero</a>
  18. </div>
  19. </div>
  20. </html>
Un saludo
__________________
Por una web con mucho estilo
+++ CUENTA ABANDONADA. ¿la quieres? +++

Última edición por kseso?; 11/06/2009 a las 04:49 Razón: se coló un doble <<