Ir al contenido


Foto

[SOLUCIONADO] acomodar menu link ala izq e imagen a la derecha


  • Por favor identifícate para responder
2 respuestas en este tema

#1 novato

novato

    Member

  • Miembros
  • PipPip
  • 35 mensajes

Escrito 02 enero 2014 - 09:55

hola amigos necesito su ayuda con este menu. lo que qiero acer es colocar las imagenes al lado derecho del menu y ya los link los tengo ubicado al lado izq solo me ace falta las imagenes aqui les mestro una foto y tambien el codigo


Imagen Enviada

index


delphi
  1. <!DOCTYPE html >
  2. <html>
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta name="viewport" content="width=device-width"/>
  6. <link href="/a/sty.css"  rel="stylesheet" />
  7. <script type="text/javascript" src="/b/js/jquery.min.js"></script>
  8. <script type="text/javascript" src="/b/js/jquery.panelgallery-2.0.0.js"></script>
  9. <script type="text/javascript">
  10. $(function(){
  11.   $('#container').panelGallery();
  12. });
  13. </script>
  14. <title>Documento sin título</title>
  15. </head>
  16.  
  17. <body>
  18. <!-- --><!-- INICIO MENU 1 -->
  19.   <nav id="menu1">
  20.     <ul >
  21.       <li>
  22.         <a href="#">Inicio</a>
  23.       </li>
  24.       <li>
  25.         <a href="#">Quienes Somos</a>
  26.       </li>
  27.       <li>
  28.         <a href="#">Contactenos</a>
  29.       </li>
  30.       <li>
  31.         <a href="#"></a>
  32.       </li>
  33.       <li>
  34.         <a href="#"></a>
  35.       </li>
  36.   </ul>
  37.  
  38.   <div class="redsoial">
  39.   <a href=""><img src="/a/images/facebook_color.png"  width="40" hieght="40"/></a>
  40.   <a href="#"><img src="/a/images/twitter_color.png" width="40" hieght="40"/></a>
  41.   <a href="#"><img src="/a/images/yahoo_color.png"/></a>
  42.   </ul>
  43.   </nav>
  44. <!-- FIN MENU 1 -->
  45.  
  46. <!-- INICION WRAPPER -->
  47. <section id="wrapper">
  48.  
  49.  
  50.  
  51. <!-- INICIO BANNER -->
  52. <section id="banner">
  53.  
  54. </SECtion>
  55. <!-- FIN BANNER -->
  56.  
  57. <!-- INICIO MENU -->
  58. <section id="menu">
  59.  
  60. </section>
  61. <!-- FIN MENU -->
  62.  
  63.  
  64. </section> <!--FIN SECTION WRAPPER-->
  65. </body>
  66. </html>



css donde dice MAQUETACION WRAPPER DESDE AHI ESTA EL CODIGO DEL MENU


delphi
  1. *{margin:0; padding:0; border:0;}
  2. html, body, div, span, applet, object, iframe,
  3. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  4. a, abbr, acronym, address, big, cite, code,
  5. del, dfn, em, font, img, ins, kbd, q, s, samp,
  6. small, strike, strong, sub, sup, tt, var,
  7. b, u, i, center,
  8. dl, dt, dd, ol, ul, li,
  9. fieldset, form, label, legend,
  10. table, caption, tbody, tfoot, thead, tr, th, td {
  11. margin: 0;
  12. padding: 0;
  13. border: 0;
  14. outline: 0;
  15. font-size: 100%;
  16. vertical-align: ;
  17. background: transparent;
  18. }
  19. body {
  20. line-height: 1;
  21. }
  22. ol, ul {
  23. list-style: none;
  24. }
  25. blockquote, q {
  26. quotes: none;
  27. }
  28. blockquote:before, blockquote:after,
  29. q:before, q:after {
  30. content: '';
  31. content: none;
  32. }
  33.  
  34. /* remember to define focus styles! */
  35. :focus {
  36. outline: 0;
  37. }
  38.  
  39. /* remember to highlight inserts somehow! */
  40. ins {
  41. text-decoration: none;
  42. }
  43. del {
  44. text-decoration: line-through;
  45. }
  46.  
  47. /* tables still need 'cellspacing="0"' in the markup */
  48. table {
  49. border-collapse: collapse;
  50. border-spacing: 0;
  51. }
  52.  
  53. a
  54. {
  55. color: #FFFFFF;
  56. font-family:BebasNeue;
  57. font-size: 22px;
  58.     height: 51px;
  59.   /*  text-shadow: 1px 2px black;*/
  60. text-decoration:none;
  61. }
  62.  
  63. a:hover
  64. {
  65. text-decoration:underline;
  66. }
  67.  
  68. @font-face
  69. {
  70. font-family:BebasNeue;
  71. font-style:normal;
  72. font-height:normal;
  73. src: url(/a/images/BebasNeue.otf);
  74. }
  75.  
  76.  
  77. /***************************************************/
  78. /*---  ---*/
  79.  
  80. /*--- MAQUETACION WRAPPER ---*/
  81. #wrapper
  82. {
  83. background: #FCFCFC;
  84. box-shadow:  0px 0px 5px #575757;
  85. margin: 0 auto;
  86. overflow: hidden;
  87. padding: 20px;
  88. width:960px;
  89. }
  90. /*--- FIN WRAPPER  ---*/
  91.  
  92. /*--- MENU 1 ---*/
  93. #menu1
  94. {
  95. background: #06AFE4;
  96. margin:0 auto;
  97. max-width: 1000px;
  98. padding: 5px 0;
  99. }
  100.  
  101. #menu1 ul li
  102. {
  103. display: inline-block;
  104. padding: 10px;
  105. margin: 0 5px;
  106. }
  107. /*--- FIN MENU 1 ---*/
  108.  
  109.  
  110. .postt1{
  111. background: #B30F2A;
  112. }
  113.  
  114. .postt2{
  115.   background: #1C4583;
  116. }


  • 0

#2 novato

novato

    Member

  • Miembros
  • PipPip
  • 35 mensajes

Escrito 03 enero 2014 - 11:56

aqui les dejo el codigo de como lo solucione



delphi
  1. <!DOCTYPE html >
  2. <html>
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta name="viewport" content="width=device-width"/>
  6. <link href="/a/sty.css"  rel="stylesheet" />
  7. <script type="text/javascript" src="/b/js/jquery.min.js"></script>
  8. <script type="text/javascript" src="/b/js/jquery.panelgallery-2.0.0.js"></script>
  9. <script type="text/javascript">
  10. $(function(){
  11.   $('#container').panelGallery();
  12. });
  13. </script>
  14. <title>Documento sin título</title>
  15. </head>
  16.  
  17. <body>
  18. <!-- --><!-- INICIO MENU 1 -->
  19.   <nav id="menu1">
  20.     <ul>
  21.       <li>
  22.         <a href="#">Inicio</a>
  23.       </li>
  24.       <li>
  25.         <a href="#">Quienes Somos</a>
  26.       </li>
  27.       <li>
  28.         <a href="#">Contactenos</a>
  29.       </li>
  30.   </ul>
  31.     <div class="redsocial">
  32.   <a href=""><img src="/a/images/facebook_color.png"  width="40" hieght="40"/></a>
  33.   <a href="#"><img src="/a/images/twitter_color.png" width="40" hieght="40"/></a>
  34.   <a href="#"><img src="/a/images/yahoo_color.png"/></a>
  35.   </div>
  36.   <div id="clear"></div>
  37.   </nav>
  38. <!-- FIN MENU 1 -->
  39.  
  40. <!-- INICION WRAPPER -->
  41. <section id="wrapper">
  42.  
  43.  
  44.  
  45. <!-- INICIO BANNER -->
  46. <section id="banner">
  47.  
  48. </SECtion>
  49. <!-- FIN BANNER -->
  50.  
  51. <!-- INICIO MENU -->
  52. <section id="menu">
  53.  
  54. </section>
  55. <!-- FIN MENU -->
  56.  
  57.  
  58. </section> <!--FIN SECTION WRAPPER-->
  59. </body>
  60. </html>





delphi
  1. *{margin:0; padding:0; border:0;}
  2. html, body, div, span, applet, object, iframe,
  3. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  4. a, abbr, acronym, address, big, cite, code,
  5. del, dfn, em, font, img, ins, kbd, q, s, samp,
  6. small, strike, strong, sub, sup, tt, var,
  7. b, u, i, center,
  8. dl, dt, dd, ol, ul, li,
  9. fieldset, form, label, legend,
  10. table, caption, tbody, tfoot, thead, tr, th, td {
  11. margin: 0;
  12. padding: 0;
  13. border: 0;
  14. outline: 0;
  15. font-size: 100%;
  16. vertical-align: ;
  17. background: transparent;
  18. }
  19. body {
  20. line-height: 1;
  21. }
  22. ol, ul {
  23. list-style: none;
  24. }
  25. blockquote, q {
  26. quotes: none;
  27. }
  28. blockquote:before, blockquote:after,
  29. q:before, q:after {
  30. content: '';
  31. content: none;
  32. }
  33.  
  34. /* remember to define focus styles! */
  35. :focus {
  36. outline: 0;
  37. }
  38.  
  39. /* remember to highlight inserts somehow! */
  40. ins {
  41. text-decoration: none;
  42. }
  43. del {
  44. text-decoration: line-through;
  45. }
  46.  
  47. /* tables still need 'cellspacing="0"' in the markup */
  48. table {
  49. border-collapse: collapse;
  50. border-spacing: 0;
  51. }
  52.  
  53. a
  54. {
  55. color: #FFFFFF;
  56. font-family:BebasNeue;
  57. font-size: 22px;
  58.     height: 51px;
  59.     text-shadow: 1px 2px black;
  60. text-decoration:none;
  61. }
  62.  
  63. a:hover
  64. {
  65. text-decoration:underline;
  66. }
  67.  
  68. @font-face
  69. {
  70. font-family:BebasNeue;
  71. font-style:normal;
  72. font-height:normal;
  73. src: url(/a/images/BebasNeue.otf);
  74. }
  75.  
  76.  
  77. /***************************************************/
  78. /*---  ---*/
  79.  
  80. /*--- MAQUETACION WRAPPER ---*/
  81. #wrapper
  82. {
  83. background: #FCFCFC;
  84. box-shadow:  0px 0px 5px #575757;
  85. margin: 0 auto;
  86. overflow: hidden;
  87. padding: 20px;
  88. width:960px;
  89. }
  90. /*--- FIN WRAPPER  ---*/
  91.  
  92. /*--- MENU 1 ---*/
  93. #menu1
  94. {
  95. background: #06AFE4;
  96. margin:0 auto;
  97. max-width: 1000px;
  98. overflow: hidden;
  99. padding: 5px 0;
  100. }
  101. #menu1 ul li
  102. {
  103. float:left;
  104. /*display: inline-block;*/
  105. margin: 0 5px;
  106. padding: 10px;
  107. }
  108.  
  109. .redsocial
  110. {
  111. float: right;
  112. margin: 0 25px;
  113. }
  114.  
  115. .redsocial img
  116. {
  117. padding: 0 10px;
  118. }
  119.  
  120. /*--- FIN MENU 1 ---*/
  121.  
  122.  
  123. #banner
  124. {
  125. background: #3399FF ;
  126. height:300px;
  127. width:100%;
  128.  
  129. }
  130.  
  131.  
  132. .postt1{
  133. background: #B30F2A;
  134. }
  135.  
  136. .postt2{
  137.   background: #1C4583;
  138. }


  • 0

#3 poliburro

poliburro

    Advanced Member

  • Administrador
  • 4.945 mensajes
  • LocationMéxico

Escrito 03 enero 2014 - 12:01

gracias por compartir la solución amigo.
  • 0




IP.Board spam blocked by CleanTalk.