Ver Mensaje Individual
  #2 (permalink)  
Antiguo 07/12/2014, 09:24
Anarko
 
Fecha de Ingreso: febrero-2004
Mensajes: 1.987
Antigüedad: 20 años, 3 meses
Puntos: 22
Respuesta: ¿que hace que no pueda modificar LA FUENTE en éste DIV?

Ouch...

Olvidé PEGAR el código, que es éste:
Código HTML:
<html><head><script type="text/javascript">/*<![CDATA[*/
	var editor;
	function $(id){return document.getElementById(id);}
	function rev(t){
		return t
		.split("<")
		.join("&lt;")
		.split(">")
		.join("&gt;")
		.split("\"")
		.join("&quot;");
		}
	function htmlOEditor(e){
		e=e || window.event;
		ob=e.target || e.srcElement
		$('eccg_msj').style.display=(ob.value=='html')?'none':'block';
		$('ht').style.display=(ob.value!='html')?'none':'block';
		$('ht').innerHTML=rev(editor.body.innerHTML);
		ob.value=(ob.value=='html')?'editor':'html';
		}
	window.onload=function(){
		document.getElementById('eccg_msj').focus();
		editor=$('eccg_msj')
		.contentDocument || $('eccg_msj')
		.contentWindow
		.document;
		editor.designMode='on';
		}
;/*]]>*/</script>
<style type="text/css">
	html,body{
		margin:0;padding:0;background:#000;
		color:#fff;font-family:verdana;
		font-size:7pt;}
	#eccg_msj{
		padding:3em;width:798px;
		color:red;font-size:27px;
		border:1px solid #eddc03;
		font-family:verdana;font-size:27px;
		color:red;background:#aabbcc;
		}
</style></head><body>
	<iframe id="eccg_msj"></iframe>
	<div id="ht"></div>
</body></html> 
... qué hace que no pueda modificar el ESTILO de la fuente ?

Por favor!....

h perdido muchísimo tiempo en esto...