Ver Mensaje Individual
  #8 (permalink)  
Antiguo 21/01/2014, 18:11
mumraa
 
Fecha de Ingreso: marzo-2012
Mensajes: 102
Antigüedad: 12 años, 1 mes
Puntos: 1
Respuesta: Nth-of-type funciona raro

Si pzin, sabia pero no podia pasarlo antes y no queria que gastaran energias en algo que no estaba necesitando...

esto es lo que tengo en css:
Código:
/***************************************************************/
/***************************************************************/
ul.labels {
	font-weight: bold;
	border-bottom: 1px solid #dedede;
	margin-bottom: 10px;
	padding-bottom: 10px;

}


ul.lista, ul.lista ul {
	list-style: none;
	padding: 0;
	margin: 0;
	width: 100%;
}

ul.lista > li, ul.lista ul {
	width: 100%;
	height: 30px;
	line-height: 30px;
	margin-bottom: 0;
}

ul.lista > li:first-child {
	}

ul.lista li ul li {
	border-bottom: 0 !important;
	margin-bottom: 0 !important;
	float: left;
	display: block;
	height; 30px;
	line-height: 30px;
}
/************************/
.listado-mensajes > li > ul > li:nth-of-type(1) {
	width: 10% !important;
}
.listado-mensajes > li > ul > li:nth-of-type(2) {
	width: 50% !important;
}
.listado-mensajes > li > ul > li:nth-of-type(3) {
	width: 25% !important;
}
.listado-mensajes > li > ul > li:nth-of-type(4) {
	width: 15% !important;
	text-align: right;
}
/************************/
y al comienzo del post, lo que vendria a hacer el listado de mensajes...

espero se entienda ahora