Parte de la asistencia por favor

  • atlnycdude
  • Newbie
  • Newbie
  • No Avatar
  • Registrado: Dic 30, 2008
  • Mensajes: 6
  • Status: Offline

Nota Junio 16th, 2010, 11:49 am

Hey habitación. ¿Tienes un problema de rápida que me gustaría tenerlo solucionado en breve. He creado una navegación con etiquetas ul, li y css. He creado el fondo de navegación mediante el uso photoshop | ig para cada ficha. Inicio Quiénes somos etc Me gustaría que cada bloque en la línea horizontal para que quepan en cada uno de los "|" de la img. Quiero que justo en el medio incluido el texto. Aquí está el código:


Código: [ Select ]


<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Precious Jewels Learning Incorporated - Home</title>
<link href="css/layout.css" rel="stylesheet" type="text/css" />
</head>

<body>
    <div id="wrapper">
        <div id="header">
            <div id="followus">
                <a class="facebook"><img src="images/header/Precious-Jewels-Learning-Incorporated - facebook.jpg" alt="Facebook Page" /></a>
                <a class="twitter"><img src="images/header/Precious-Jewels-Learning-Incorporated - twitter.jpg" alt="Twitter Page" /></a>
                <a class="home"><img src="images/header/Precious-Jewels-Learning-Incorporated - home.jpg" alt="Home" /></a>
                <a class="contact"><img src="images/header/Precious-Jewels-Learning-Incorporated - email.jpg" alt="email" /></a>
            </div><!-- end "followus" DIV-->
        </div><!-- end "header" DIV-->

        <div id="navigation">
    <p id="menuHome">
    </p>
    <ul id="menuOne" class="menuHoriz">
        <li><a href="index.html">Home</a></li>
        <li><a href="about.html">About Us</a></li>
      <li><a href="services.html">Our Services</a></li>
      <li><a href="contributions.html">Contributions</a></li>
      <li><a href="contact.html">Contact Us</a></li>
    </ul>
    
    <ul id="menuSubTwo" class="menuVert">
        <li><a href="mission.html">Mission Statement</a></li>        
   </ul>
    
    <ul id="menuSubThree" class="menuVert">
        <li><a href="preschool.html">Pre School</a></li>
        <li><a href="teen.html">Teen Empowerment</a></li>
    </ul>
    
     <ul id="menuSubFive" class="menuVert">
        <li><a href="newsletter.html">Newsletter</a></li>
    </ul>
    
    
    </div><!-- end "navigation" DIV-->

     <div id="main">
            <div id="left"><img src="images/body/Precious-Jewels-Learning-Incorporated---ezekial.jpg" alt="ezekial" /></div>
            <div id="right"><img src="images/body/Precious-Jewels-Learning-Incorporated---picture-gallery.jpg" alt="pic gallery" />
        </div><!-- end "main" DIV-->
        <div style="clear: both;">
            &nbsp;
        </div><!-- end "clear" DIV-->
    </div><!-- end "wrapper" DIV-->
        <div id="footer">
        </div><!-- end "footer" DIV-->
</div>
</body>
</html>
  1. <head>
  2. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  3. <title>Precious Jewels Learning Incorporated - Home</title>
  4. <link href="css/layout.css" rel="stylesheet" type="text/css" />
  5. </head>
  6. <body>
  7.     <div id="wrapper">
  8.         <div id="header">
  9.             <div id="followus">
  10.                 <a class="facebook"><img src="images/header/Precious-Jewels-Learning-Incorporated - facebook.jpg" alt="Facebook Page" /></a>
  11.                 <a class="twitter"><img src="images/header/Precious-Jewels-Learning-Incorporated - twitter.jpg" alt="Twitter Page" /></a>
  12.                 <a class="home"><img src="images/header/Precious-Jewels-Learning-Incorporated - home.jpg" alt="Home" /></a>
  13.                 <a class="contact"><img src="images/header/Precious-Jewels-Learning-Incorporated - email.jpg" alt="email" /></a>
  14.             </div><!-- end "followus" DIV-->
  15.         </div><!-- end "header" DIV-->
  16.         <div id="navigation">
  17.     <p id="menuHome">
  18.     </p>
  19.     <ul id="menuOne" class="menuHoriz">
  20.         <li><a href="index.html">Home</a></li>
  21.         <li><a href="about.html">About Us</a></li>
  22.       <li><a href="services.html">Our Services</a></li>
  23.       <li><a href="contributions.html">Contributions</a></li>
  24.       <li><a href="contact.html">Contact Us</a></li>
  25.     </ul>
  26.     
  27.     <ul id="menuSubTwo" class="menuVert">
  28.         <li><a href="mission.html">Mission Statement</a></li>        
  29.    </ul>
  30.     
  31.     <ul id="menuSubThree" class="menuVert">
  32.         <li><a href="preschool.html">Pre School</a></li>
  33.         <li><a href="teen.html">Teen Empowerment</a></li>
  34.     </ul>
  35.     
  36.      <ul id="menuSubFive" class="menuVert">
  37.         <li><a href="newsletter.html">Newsletter</a></li>
  38.     </ul>
  39.     
  40.     
  41.     </div><!-- end "navigation" DIV-->
  42.      <div id="main">
  43.             <div id="left"><img src="images/body/Precious-Jewels-Learning-Incorporated---ezekial.jpg" alt="ezekial" /></div>
  44.             <div id="right"><img src="images/body/Precious-Jewels-Learning-Incorporated---picture-gallery.jpg" alt="pic gallery" />
  45.         </div><!-- end "main" DIV-->
  46.         <div style="clear: both;">
  47.             &nbsp;
  48.         </div><!-- end "clear" DIV-->
  49.     </div><!-- end "wrapper" DIV-->
  50.         <div id="footer">
  51.         </div><!-- end "footer" DIV-->
  52. </div>
  53. </body>
  54. </html>


Código: [ Select ]

p#menuHome{ float: left; } #navigation { position:relative; background-color: #333; background-image: url(../images/navigation/Precious-Jewels-Learning-Incorporated_03.jpg); background-repeat: no-repeat; width: 820px; height: 47px; font-size: 14pt; } #navigation a:link, #navigation a:visited { font-family: Arial, Helvetica, sans-serif; color: white; text-decoration: none; } #navigation a:hover { color: #03C; } #navigation ul, #navigation li { margin:0; padding:0; } #navigation ul { list-style-type: none; } ul.menuHoriz li { float: left; } ul.menuVert { position: absolute; top: 24px; } #navigation li { display: block; background-color:#FF0; width: 130px; height: 25px; margin: 0 3px 0 0; padding: 0; } ul#menuSubTwo { left: 133px } ul#menuSubThree { left: 266px } ul#menuSubFive { left: 532px }
  1. p#menuHome{ float: left; } #navigation { position:relative; background-color: #333; background-image: url(../images/navigation/Precious-Jewels-Learning-Incorporated_03.jpg); background-repeat: no-repeat; width: 820px; height: 47px; font-size: 14pt; } #navigation a:link, #navigation a:visited { font-family: Arial, Helvetica, sans-serif; color: white; text-decoration: none; } #navigation a:hover { color: #03C; } #navigation ul, #navigation li { margin:0; padding:0; } #navigation ul { list-style-type: none; } ul.menuHoriz li { float: left; } ul.menuVert { position: absolute; top: 24px; } #navigation li { display: block; background-color:#FF0; width: 130px; height: 25px; margin: 0 3px 0 0; padding: 0; } ul#menuSubTwo { left: 133px } ul#menuSubThree { left: 266px } ul#menuSubFive { left: 532px }


Captura de pantalla de la página se proporciona porque el vínculo anuncio no está permitido aquí.

Dejar simplemente que todos saben que los submenús aún no están trabajando, pero me gustaría resolver este problema primero antes de proceder al siguiente paso. Gracias de antemano.
Attachments:
screen shot.JPG
  • Anonymous
  • Bot
  • No Avatar
  • Registrado: 25 Feb 2008
  • Mensajes: ?
  • Loc: Ozzuland
  • Status: Online

Nota Junio 16th, 2010, 11:49 am

  • amogs
  • Born
  • Born
  • No Avatar
  • Registrado: Oct 04, 2009
  • Mensajes: 3
  • Status: Offline

Nota Junio 28th, 2010, 5:25 pm

¿Por qué no llamar a la imagen directamente usando css?
Moderator Remark: removed spam

Publicar Información

  • Total de mensajes en este tema: 2 mensajes
  • Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 123 invitados
  • No puede abrir nuevos temas en este Foro
  • No puede responder a temas en este Foro
  • No puede editar sus mensajes en este Foro
  • No puede borrar sus mensajes en este Foro
  • No puede enviar adjuntos en este Foro
 
 

© 2011 Unmelted, LLC. Ozzu® es una marca registrada de Unmelted, LLC