Foros del Web » Creando para Internet » CSS »

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

Estas en el tema de acomodar menu link ala izq e imagen a la derecha? en el foro de CSS en Foros del Web. 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 ...
  #1 (permalink)  
Antiguo 02/01/2014, 23:05
 
Fecha de Ingreso: junio-2013
Mensajes: 18
Antigüedad: 10 años, 10 meses
Puntos: 0
acomodar menu link ala izq e imagen a la derecha?

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




index
Código:
<!DOCTYPE html >
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width"/>
<link href="/a/sty.css"  rel="stylesheet" />
<script type="text/javascript" src="/b/js/jquery.min.js"></script>
<script type="text/javascript" src="/b/js/jquery.panelgallery-2.0.0.js"></script>
<script type="text/javascript">
$(function(){
  $('#container').panelGallery();
});
</script>
<title>Documento sin título</title>
</head>
 
<body>
<!-- --><!-- INICIO MENU 1 -->
  <nav id="menu1"> 
    <ul >
      <li>
        <a href="#">Inicio</a>
      </li>
      <li>
        <a href="#">Quienes Somos</a>
      </li>
      <li>
        <a href="#">Contactenos</a>
      </li>
      <li>
        <a href="#"></a> 
      </li>
      <li>
        <a href="#"></a>
      </li>
  </ul>

  <div class="redsoial">
   <a href=""><img src="/a/images/facebook_color.png"  width="40" hieght="40"/></a>
   <a href="#"><img src="/a/images/twitter_color.png" width="40" hieght="40"/></a>
   <a href="#"><img src="/a/images/yahoo_color.png"/></a>
  </ul>
  </nav>
<!-- FIN MENU 1 -->

<!-- INICION WRAPPER -->
<section id="wrapper">



<!-- INICIO BANNER -->
<section id="banner">
  
</SECtion>
<!-- FIN BANNER -->

<!-- INICIO MENU -->
<section id="menu">
  
</section>
<!-- FIN MENU -->


</section> <!--FIN SECTION WRAPPER-->
</body>
</html>
css donde dice MAQUETACION WRAPPER DESDE AHI ESTA EL CODIGO DEL MENU
Código:
*{margin:0; padding:0; border:0;}
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: ;
	background: transparent;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

/* remember to define focus styles! */
:focus {
	outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

a
{
	color: #FFFFFF;
	font-family:BebasNeue;
	 font-size: 22px;
    height: 51px;
  /*  text-shadow: 1px 2px black;*/
	text-decoration:none;
}

a:hover
{
text-decoration:underline;
}

@font-face
{
	font-family:BebasNeue;
	font-style:normal;
	font-height:normal;
	src: url(/a/images/BebasNeue.otf);
}


/***************************************************/
/*---  ---*/

/*--- MAQUETACION WRAPPER ---*/
#wrapper
{
	background: #FCFCFC;
	box-shadow:  0px 0px 5px #575757;
	margin: 0 auto;
	overflow: hidden;
	padding: 20px;
	width:960px;
}
/*--- FIN WRAPPER  ---*/

/*--- MENU 1 ---*/
#menu1
{
	background: #06AFE4;
	margin:0 auto;
	max-width: 1000px;
	padding: 5px 0;
}

#menu1 ul li
{
	display: inline-block;
	padding: 10px;
	margin: 0 5px;
}
/*--- FIN MENU 1 ---*/


.postt1{
	background: #B30F2A;
}

.postt2{
 	background: #1C4583;
}
  #2 (permalink)  
Antiguo 02/01/2014, 23:50
Avatar de C2am  
Fecha de Ingreso: enero-2009
Ubicación: Rosario, Argentina
Mensajes: 2.005
Antigüedad: 15 años, 2 meses
Puntos: 306
Respuesta: acomodar menu link ala izq e imagen a la derecha?

una forma rápida es:
Código CSS:
Ver original
  1. .redsoial{
  2. float:right;
  3. }

Seguramente has querido escribir redsocial y no "redsoial", así que fijate como lo escribes en el html, para que no tengas problemas.
Saludos
__________________
El mundo nada puede contra un hombre que canta en la miseria.
-- Ernesto Sábato--
  #3 (permalink)  
Antiguo 03/01/2014, 10:23
 
Fecha de Ingreso: junio-2013
Mensajes: 18
Antigüedad: 10 años, 10 meses
Puntos: 0
Respuesta: acomodar menu link ala izq e imagen a la derecha?

gracias x tu respuesta

pero no funciona, fue lo primero q ise,
  #4 (permalink)  
Antiguo 03/01/2014, 10:49
Avatar de Contac  
Fecha de Ingreso: enero-2014
Mensajes: 86
Antigüedad: 10 años, 3 meses
Puntos: 8
Respuesta: acomodar menu link ala izq e imagen a la derecha?

Hola colocar las imagenes al lado derecho del menu tienes que rectificar un par de cosas prueva este código:
Código HTML:
Ver original
  1. <!-- --><!-- INICIO MENU 1 -->
  2. <div class="redsoial">
  3.   <nav id="menu1">
  4.     <ul >
  5.       <li>
  6.         <a href="#">Inicio</a>
  7.       </li>
  8.       <li>
  9.         <a href="#">Quienes Somos</a>
  10.       </li>
  11.       <li>
  12.         <a href="#">Contactenos</a>
  13.       </li>
  14.       <li>
  15.         <a href="#"></a>
  16.       </li>
  17.       <li>
  18.         <a href="#"></a>
  19.       </li>
  20.    
  21.    <a href=""><img src="/a/images/facebook_color.png"  width="40" hieght="40"/></a>
  22.    <a href="#"><img src="/a/images/twitter_color.png" width="40" hieght="40"/></a>
  23.    <a href="#"><img src="/a/images/yahoo_color.png"/></a>
  24.   </ul>
  25.   </nav>
  26. <!-- FIN MENU 1 -->
  #5 (permalink)  
Antiguo 03/01/2014, 11:57
 
Fecha de Ingreso: junio-2013
Mensajes: 18
Antigüedad: 10 años, 10 meses
Puntos: 0
Respuesta: acomodar menu link ala izq e imagen a la derecha?

gracias CONTAT POR TU RESPUESTA
  #6 (permalink)  
Antiguo 03/01/2014, 11:58
 
Fecha de Ingreso: junio-2013
Mensajes: 18
Antigüedad: 10 años, 10 meses
Puntos: 0
Respuesta: acomodar menu link ala izq e imagen a la derecha?

aqui les dejo el codigo de como lo solucione

Código:
<!DOCTYPE html >
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width"/>
<link href="/a/sty.css"  rel="stylesheet" />
<script type="text/javascript" src="/b/js/jquery.min.js"></script>
<script type="text/javascript" src="/b/js/jquery.panelgallery-2.0.0.js"></script>
<script type="text/javascript">
$(function(){
  $('#container').panelGallery();
});
</script>
<title>Documento sin título</title>
</head>
 
<body>
<!-- --><!-- INICIO MENU 1 -->
  <nav id="menu1"> 
    <ul>
      <li>
        <a href="#">Inicio</a>
      </li>
      <li>
        <a href="#">Quienes Somos</a>
      </li>
      <li>
        <a href="#">Contactenos</a>
      </li>
  </ul>
    <div class="redsocial">
   <a href=""><img src="/a/images/facebook_color.png"  width="40" hieght="40"/></a>
   <a href="#"><img src="/a/images/twitter_color.png" width="40" hieght="40"/></a>
   <a href="#"><img src="/a/images/yahoo_color.png"/></a>
  </div>

  </nav>
<!-- FIN MENU 1 -->

<!-- INICION WRAPPER -->
<section id="wrapper">



<!-- INICIO BANNER -->
<section id="banner">
  
</SECtion>
<!-- FIN BANNER -->

<!-- INICIO MENU -->
<section id="menu">
  
</section>
<!-- FIN MENU -->


</section> <!--FIN SECTION WRAPPER-->
</body>
</html>
Código:
*{margin:0; padding:0; border:0;}
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: ;
	background: transparent;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

/* remember to define focus styles! */
:focus {
	outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

a
{
	color: #FFFFFF;
	font-family:BebasNeue;
	 font-size: 22px;
    height: 51px;
    text-shadow: 1px 2px black;
	text-decoration:none;
}

a:hover
{
text-decoration:underline;
}

@font-face
{
	font-family:BebasNeue;
	font-style:normal;
	font-height:normal;
	src: url(/a/images/BebasNeue.otf);
}


/***************************************************/
/*---  ---*/

/*--- MAQUETACION WRAPPER ---*/
#wrapper
{
	background: #FCFCFC;
	box-shadow:  0px 0px 5px #575757;
	margin: 0 auto;
	overflow: hidden;
	padding: 20px;
	width:960px;
}
/*--- FIN WRAPPER  ---*/

/*--- MENU 1 ---*/
#menu1
{
	background: #06AFE4;
	margin:0 auto;
	max-width: 1000px;
overflow: hidden;
	padding: 5px 0;
}
#menu1 ul li
{
	float:left;
	/*display: inline-block;*/
	margin: 0 5px;
	padding: 10px;
}

.redsocial
{
	float: right;
	margin: 0 25px;
}

.redsocial img
{
	padding: 0 10px;	
}

/*--- FIN MENU 1 ---*/


#banner
{
	background: #3399FF ;
	height:300px;
	width:100%;

}


.postt1{
	background: #B30F2A;
}

.postt2{
 	background: #1C4583;
}

Etiquetas: acomodar, background, color, hover, html, imagenes, link
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 20:56.