Ver Mensaje Individual
  #3 (permalink)  
Antiguo 02/04/2007, 08:23
Avatar de shakaran
shakaran
 
Fecha de Ingreso: agosto-2005
Ubicación: España - Ciudad Real
Mensajes: 374
Antigüedad: 18 años, 9 meses
Puntos: 7
Re: Modificar hoja de estilos de un iframe

No he conseguido que me funcione con tu solucion...creo que puede ser porque el elemento del id es una marquesina. Este este es el iframe que tengo y al que quiero modificar:

Código HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
.bl_publ_message{
	width: 468px;
	background: #FFCC33;
	text-align: center;
	padding: 15px;
	border: 1px solid #000000;
}
.bl_publ_message_p{
	margin:0;
	font-weight: bold;
	padding: 0;
	font-size: 10px;
	font-family: Tahoma, Arial, Verdana;
	color: #333333;
}
</style>
</head>
<body leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" style="padding:0; margin:0;">
	<div class="bl_publ_message">
		<marquee id="ScrollText" class="bl_publ_message_p" direction="left" behavior="scroll" scrollamount="5" onmouseover="this.scrollAmount=2" onmouseout="this.scrollAmount=5">
		Aqui hay texto desplazandose
		</marquee>
	</div>
</body>
</html> 
Y el iframe algo asi

Código HTML:
<iframe id="marco" height="55px" frameborder=0 src="http://url_web.com" name="marco_name" align="center" border="1" width="590px" scrolling="no" AllowTransparency></iframe> 
Tal vez el problema resida en que estan los atributos en una clase de css. Hay solucion para ello?

Un saludo.
__________________
Quijost Backend Engineer - www.quijost.com - Hosting rápido, eficiente y profesional
Blog: www.shakaran.net

Última edición por shakaran; 02/04/2007 a las 08:26 Razón: Añadir iframe