Ver Mensaje Individual
  #5 (permalink)  
Antiguo 31/01/2011, 12:31
Avatar de ArturoGallegos
ArturoGallegos
Moderador
 
Fecha de Ingreso: febrero-2008
Ubicación: Morelia, México
Mensajes: 6.774
Antigüedad: 16 años, 2 meses
Puntos: 1146
Respuesta: Ayuda HTML barra de navegacion.

mmm no se si este bien o mal hacer esto pero es algo que yo haria si no puedo usar java

Código CSS:
Ver original
  1. html,body{margin:0;padding:0;font:13px 'trebuchet MS'; color:#333;}
  2. a{color:#036;text-decoration:none;}a:hover{color:#f02;}
  3. #Menu{margin:20px;padding:0;list-style:none;}
  4. #Content{margin:20px;overflow:hidden;}
  5. #Content,#Content div{width:400px; height:200px;padding:0;line-height:18px;}

Código HTML:
Ver original
  1. <ul id="Menu">
  2.     <li><a href="#Item1">Item 1</a></li>
  3.     <li><a href="#Item2">Item 2</a></li>
  4.     <li><a href="#Item3">Item 3</a></li>
  5.     <li><a href="#Item4">Item 4</a></li>
  6. </ul>
  7. <div id="Content">
  8.     <div id="Item1"><strong>Contendio 1</strong><br />Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</div>
  9.     <div id="Item2"><strong>Contendio 2</strong><br />Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</div>
  10.     <div id="Item3"><strong>Contendio 3</strong><br />Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</div>
  11.     <div id="Item4"><strong>Contendio 4</strong><br />Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</div>
  12. </div>