hola a todos soy yo de new
aqui la funcion
Código HTML:
function obtenerccssexter(indice1,indice2){
var kse;
try{
kse= document.styleSheets[indice1].cssRules[indice2].style.width;
}
catch(err)
{
kse= document.styleSheets[indice2].rules[indice2];
}
return kse;
}
// despues si quieres aplicar a una etiqueta llamas la funcion ejemplo var //etq=obtenerccssexter(0,1);
//etq.style.top y listo mas nada ps