Foros del Web » Creando para Internet » CSS »

CSS para XML

Estas en el tema de CSS para XML en el foro de CSS en Foros del Web. Muy buenas tardes a todos. Tengo un problemilla con un XML, y es que dicho archivo posiciona una serie de elementos que yo quiero mover, ...
  #1 (permalink)  
Antiguo 22/02/2012, 10:59
Avatar de pann84  
Fecha de Ingreso: agosto-2010
Ubicación: Asturias - Madrid
Mensajes: 95
Antigüedad: 13 años, 9 meses
Puntos: 4
CSS para XML

Muy buenas tardes a todos.

Tengo un problemilla con un XML, y es que dicho archivo posiciona una serie de elementos que yo quiero mover, pero en lugar de hacerlo uno a uno que me estoy volviendo loca, quisiera moverlos todos en bloque. Me explico, el XML posiciona en un tamaño de 1010*720px una serie de .swf que yo necesito recolocar 230px más a la derecha pues me piden que las medidas ahora sean de 1240*720px, y que mueva las cosas para la derecha dejando un hueco vacío a la izquierda.

Me estoy volviendo loca recolocando cosas, y me han comentado que quizá pudiese hacerse directamente con CSS. Me parece una salvajada poneros el archivo original porque son más de 4000 líneas, de modo que os pongo parte para que os hagáis una idea, pues el XML al completo es prácticamente igual:

Código HTML:
<?xml version="1.0" encoding="UTF-8"?>
<look name="" version="3.0.0" width="1010" height="720" bgcolor="#FFFFFF" fps="24" flashplayer="8" popupmenu="1" preloadfilter="" scalemode="ExactFit" fullscreen="0" linkedcourseoptions="" smartphone="0" build_version="51" major_version="1" export_suffix="">

............

		<flash id="titre ua_debut" ref="#350" author_id="#201010512575" lang_sync="0" lang_sync_content="0" lang_sync_design="0">
			<design anim_start_alpha="100" alpha="0" proportional="1" streched="0" anim_start_top="43.4" anim_start_left="62.25" anim_length="1" anim_delay="0" anim_autostart="1" anim_easemode="easeOut" anim_easing="Strong" anim="1" height="50" width="820" top="43.4" left="62.25" subtitle_element="0" caption="titre ua_debut" locked="0"/>
			<content file="multiTitle.swf" width="820" height="50">
				<custom color_titre_3="#0000FF" size_titre_3="10" color_separation_2="#0F0F0F" size_separation_2="10" color_titre_2="#64372B" size_titre_2="16" color_separation_1="#064372B" size_separation_1="16" color_titre_1="#64372B" size_titre_1="16"><titre_1>module</titre_1><exemple_1>Titre UA</exemple_1><separation_1> &gt; </separation_1><titre_2>plage</titre_2><exemple_2>Titre du chapitre</exemple_2><separation_2>&gt;</separation_2><titre_3>aucun</titre_3><exemple_3>Exemple de titre</exemple_3></custom>
			</content>

		</flash>
		<flash id="barre_prog" ref="#34" author_id="#20101051342" lang_sync="0" lang_sync_content="0" lang_sync_design="0">
			<design anim_start_alpha="100" alpha="0" proportional="1" streched="0" anim_start_top="654.55" anim_start_left="544.4" anim_length="1" anim_delay="0" anim_autostart="1" anim_easemode="easeOut" anim_easing="Strong" anim="1" height="50" width="385" top="654.55" left="544.4" subtitle_element="0" caption="" locked="0"/>
			<content file="barre_progression3.swf" width="385" height="50"/>

		</flash>
		<button id="button_son_aller" ref="#127" author_id="#20101051353" lang_sync="0" lang_sync_content="0" lang_sync_design="0">
			<design anim_start_alpha="100" alpha="0" proportional="1" streched="0" file_height="60" file_width="60" file_blink="" file_out="btn_son_all_roll_out.swf" file_off="" file_roll="btn_son_all_roll.swf" file_on="btn_son_all_on.swf" anim_start_top="681.9" anim_start_left="480.8" anim_length="1" anim_delay="0" anim_autostart="1" anim_easemode="easeOut" anim_easing="Strong" anim="1" height="40" width="40" top="681.9" left="480.8" subtitle_element="0" caption="button_son" locked="0"/>
			<content>
				<action action="sound_mute_on" mode="button" time="0" key="0" event=""/>
			</content>

		</button>
		<button id="btn_sommaire_aller" ref="#129" author_id="#201010513531" lang_sync="0" lang_sync_content="0" lang_sync_design="0">
			<design anim_start_alpha="100" alpha="0" proportional="1" streched="0" file_height="60" file_width="60" file_blink="" file_out="btn_sommaire3_roll_out.swf" file_off="" file_roll="btn_sommaire3_roll.swf" file_on="btn_sommaire3_on.swf" anim_start_top="678.9" anim_start_left="518.7" anim_length="1" anim_delay="0" anim_autostart="1" anim_easemode="easeOut" anim_easing="Strong" anim="1" height="40" width="40" top="678.9" left="518.7" subtitle_element="0" caption="btn_sommaire3" locked="0"/>
			<content>
				<action action="send_event" param="all|start_sommaire" mode="button" time="0" key="0" event=""/>
			</content>

		</button>
		<button id="btn_retour3_aller" ref="#141" author_id="#201010513532" lang_sync="0" lang_sync_content="0" lang_sync_design="0">
			<design anim_start_alpha="100" alpha="0" proportional="1" streched="0" file_height="60" file_width="60" file_blink="" file_out="btn_retour3_roll_out.swf" file_off="" file_roll="btn_retour3_roll.swf" file_on="btn_retour3_on.swf" anim_start_top="671.55" anim_start_left="13.7" anim_length="1" anim_delay="0" anim_autostart="1" anim_easemode="easeOut" anim_easing="Strong" anim="1" height="40" width="40" top="671.55" left="13.7" subtitle_element="0" caption="btn_retour3_aller" locked="0"/>
			<content>
				<action action="gobackpage" mode="button" time="0" key="0" event=""/>
			</content>

		</button>
		<button id="btn_suite3_aller" ref="#147" author_id="#201010513533" lang_sync="0" lang_sync_content="0" lang_sync_design="0">
			<design anim_start_alpha="100" alpha="0" proportional="1" streched="0" file_height="60" file_width="60" file_blink="btn_suite3_clign.swf" file_out="btn_suite3_roll_out.swf" file_off="" file_roll="btn_suite3_roll.swf" file_on="btn_suite3_on.swf" anim_start_top="670.8" anim_start_left="960.1" anim_length="1" anim_delay="0" anim_autostart="1" anim_easemode="easeOut" anim_easing="Strong" anim="1" height="40" width="40" top="670.8" left="960.1" subtitle_element="0" caption="btn_suite3_aller" locked="0"/>
			<content>
				<action action="gonextpage" mode="button" time="0" key="0" event=""/>
			</content>

		</button>
		<flash id="barre_prog" ref="#151" author_id="#201010513534" lang_sync="0" lang_sync_content="0" lang_sync_design="0">
			<design anim_start_alpha="0" alpha="100" proportional="1" streched="0" anim_start_top="654.55" anim_start_left="544.4" anim_length="0.5" anim_delay="0" anim_autostart="0" anim_easemode="easeOut" anim_easing="Strong" anim="1" height="50" width="385" top="654.55" left="544.4" subtitle_element="0" caption="barre_prog" locked="0"/>
			<content file="barre_progression3.swf" width="385" height="50"/>

		</flash>
		<button id="button_son" ref="#153" author_id="#201010513853" lang_sync="0" lang_sync_content="0" lang_sync_design="0">
			<design anim_start_alpha="0" alpha="100" proportional="1" streched="0" file_height="60" file_width="60" file_blink="" file_out="btn_son_all_roll_out.swf" file_off="" file_roll="btn_son_all_roll.swf" file_on="btn_son_all_on.swf" anim_start_top="623.95" anim_start_left="919.7" anim_length="0.5" anim_delay="0" anim_autostart="0" anim_easemode="easeOut" anim_easing="Strong" anim="1" height="60" width="60" top="623.9" left="920.75" subtitle_element="0" caption="button_son" locked="0"/>
			<content>
				<action action="sound_mute_on" mode="button" time="0" key="0" event=""/>
			</content>

		</button>
		<button id="btn_sommaire_debut" ref="#154" author_id="#2010105138531" lang_sync="0" lang_sync_content="0" lang_sync_design="0">
			<design anim_start_alpha="0" alpha="100" proportional="1" streched="0" file_height="60" file_width="60" file_blink="" file_out="btn_sommaire3_roll_out.swf" file_off="" file_roll="btn_sommaire3_roll.swf" file_on="btn_sommaire3_on.swf" anim_start_top="563.9" anim_start_left="917.35" anim_length="0.5" anim_delay="0" anim_autostart="0" anim_easemode="easeOut" anim_easing="Strong" anim="1" height="60" width="60" top="563.9" left="917.35" subtitle_element="0" caption="btn_sommaire_debut" locked="0"/>
			<content>
				<action action="send_event" param="all|start_sommaire" mode="button" time="0" key="0" event=""/>
			</content>

		</button>
		<button id="btn_retour3_debut" ref="#156" author_id="#2010105138532" lang_sync="0" lang_sync_content="0" lang_sync_design="0">
			<design anim_start_alpha="0" alpha="100" proportional="1" streched="0" file_height="60" file_width="60" file_blink="" file_out="btn_retour3_roll_out.swf" file_off="btn_retour_off.swf" file_roll="btn_retour3_roll.swf" file_on="btn_retour3_on.swf" anim_start_top="313.35" anim_start_left="12" anim_length="0.5" anim_delay="0" anim_autostart="0" anim_easemode="easeOut" anim_easing="Strong" anim="1" height="60" width="60" top="313.35" left="12" subtitle_element="0" caption="btn_retour3_debut" locked="0"/>
			<content>
				<action action="gobackpage" mode="button" time="0" key="0" event=""/>
			</content>

		</button>
		
.................



He modificado las medidas al inicio de width="1010" height="720" a width="1240" height="720", y simplemente quiero que todo el contenido se mueva 230px hacia la derecha ¿se os ocurre cómo podría hacerse aunque no sea con CSS?

Muchísimas gracias de antemano

Etiquetas: contenido, tamaño, xml
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 17:41.