Visualizzazione risultati 1 fino 7 di 7

Discussione: banner video laterale

  1. #1
    Guest

    Predefinito banner video laterale

    non riesco a metterlo sul lato ma mi rimane in mezzo in parte alla scritta volevo metterlo o a destra o sinistra potete aiutarmi il sito è questo:

    http://pieva.altervista.org/

  2. #2
    Guest

    Predefinito

    non solo tu !!!!

  3. #3
    L'avatar di EuroSalute
    EuroSalute non è connesso AlterVistiano
    Data registrazione
    12-05-2003
    Messaggi
    969

    Predefinito

    Guarda il codice html della tua pagina, ci sono multiple chiusure del </body> e </html>

    Per l'allineamento a sinistra o a destra : <div align="left"> o <div align="right"> o anche <div style="text-align: left;"> ecc.

    Codice HTML:
    <center>
    <script type="text/javascript">
    //<![CDATA[
    	document.write('<s'+'cript type="text/javascript" src="http://ad.altervista.org/js.ad/size=728X90/r='+new Date().getTime()+'"><\/s'+'cript>');
    
    //]]>
    </script>
    </center>
    
    
    <html>
    
    <head>
    <meta http-equiv="Content-Type"
    content="text/html; charset=iso-8859-1">
    <meta name="GENERATOR" content="Microsoft FrontPage Express 2.0">
    <title>HOMEPAGE</title>
    </head>
    
    <body bgcolor="#FFFFFF" text="#800000">
    <!-- BEGIN AV_TOOLBAR -->
    
    <!-- <EdNoIndex> -->
    <div id="av_toolbar_regdiv" style="position:absolute;height:30px;width:100px;border-left:1px dashed gray;background:white url(http://tb.altervista.org/img/bg1.gif);z-index:10001">
    <div style="position:relative;width:94px;text-align:center">
    <div style="position:absolute;top:10px;left:3px;font:normal 11px Arial, Verdana, sans-serif !important;letter-spacing:0 !important;border:none;padding:0 !important"><a target="_blank" href="http://it.altervista.org/crea-sito-web-gratis.php"><img src="http://tb.altervista.org/img/creasito.gif" style="border:0!important;background:none;padding:0;margin:0" alt="Siti, blog e web hosting gratis" /></a>&nbsp;<a style="font:normal 11px Arial, Verdana, sans-serif !important;letter-spacing:0 !important;border:none;text-decoration:none;color:black;background:none;padding:0;margin:0" target="_blank" href="http://it.altervista.org/">Crea sito web</a></div>
    </div>
    </div>
    <script type="text/javascript">
    // <![CDATA[
    
    AVToolbar = {
    	count: 10,
    	lw:0,
    	s:['width','marginLeft','marginRight','paddingLeft','paddingRight','borderLeftWidth','borderRightWidth'],
    	parse: function(i) { return isNaN(parseInt(i))?0:parseInt(i) },
    	msie: 0,
    
    	resize: function() {
    		var w=0,s;
    		if(this.count==0)this.count=3;
    		if (this.msie) {
    			if (this.msie<6||(this.msie>=6&&document.compatMode!='CSS1Compat')) {
    				this.iframe.style.width = document.body.clientWidth+'px';
    				this.crea.style.left=(document.body.clientWidth-101)+'px';
    				if(--this.count>0)setTimeout('AVToolbar.resize()',250);
    				return
    			}
    			else if (this.msie==6) w = document.documentElement.clientWidth-1;
    			else w = document.documentElement.clientWidth;
    		} else {
    			for(s in this.s)w+=this.style(this.b,this.s[s]);
    		}
    		if(this.lw!=w) {
    			this.iframe.style.left=(-this.style(this.b,'borderLeftWidth')-this.style(this.b,'marginLeft'))+'px';
    			this.crea.style.right=(-this.style(this.b,'borderRightWidth')-this.style(this.b,'marginRight'))+'px';
    			this.iframe.style.width=w+'px';
    			this.lw=w;
    		}
    		if(--this.count>0)setTimeout('AVToolbar.resize()',250);
    	},
    
    	style: function(el,pr,m) { // Passare le proprieta` CSS col nome javascript-like (es. marginLeft)
    		var v;
    		if(!el)return 0;
    		if (document.defaultView&&document.defaultView.getComputedStyle)v=document.defaultView.getComputedStyle(el,null)[pr];
    		else if(el.currentStyle)v=el.currentStyle[pr];
    		else v=el.style[pr];
    		return(m?v:this.parse(v));
    	},
    
    	init: function() {
    		this.crea=document.getElementById('av_toolbar_regdiv');
    		if((window.parent!=window&&typeof(av_toolbar_force)=='undefined'&&window.name!='XYZZY2')||typeof(av_toolbar_off)!='undefined'){this.crea.style.display='none';return}
    		var b,c=0,i,my,u,p;
    		this.b=document.getElementsByTagName('body')[0];
    		if (i=navigator.userAgent.match(/MSIE (\d+)/))this.msie=i[1];
    		if (this.msie&&document.compatMode!='CSS1Compat') {
    			document.write('<'+'div style="border:0;padding:0;margin:0;visibility:hidden;height:32px"><'+'/div>');
    			this.crea.style.top=my=0;
    		} else {
    			this.b.style.position='relative';
    			this.b.style.paddingTop=(this.style(this.b,'marginTop')+this.style(this.b,'paddingTop'))+'px';
    			this.b.style.marginTop='32px';
    			var bpym, bpyv, bpy;
    			if (this.msie) {
    				bpy=this.style(this.b,'backgroundPositionY',true);
    				if(bpy&&(bpyv=bpy.match(/^(\d+)px$/))&&(bpyv[1]==0))this.b.style.backgroundPositionY=(parseInt(bpyv[1])+32)+'px';
    			} else if (navigator.userAgent.search(/Firefox/)>=0) {
    				bpy=this.style(this.b,'backgroundPosition',true);
    				if(bpy&&(bpym=bpy.match(/^([\w%]+) ([\w%]+)$/))&&(bpyv=bpym[2].match(/^(\d+)(px|%)$/))&&(bpyv[1]==0))this.b.style.backgroundPosition=bpym[1]+' '+(parseInt(bpyv[1])+32)+'px';
    			}
    			this.b.style.paddingLeft=(this.style(this.b,'marginLeft')+this.style(this.b,'paddingLeft'))+'px';
    			this.b.style.paddingRight=(this.style(this.b,'marginRight')+this.style(this.b,'paddingRight'))+'px';
    			this.b.style.marginLeft=this.b.style.marginRight=0;
    			if (navigator.userAgent.search(/Opera/)>-1&&document.compatMode!='CSS1Compat')my=this.crea.style.top='-32px';
    			else my=this.crea.style.top=(-this.style(this.b,'borderTopWidth')-32)+'px';
    		}
    		if (u=document.location.host.match(/([a-zA-Z0-9]+)\.altervista\.org$/)){
    			u=u[1];
    			for(i=0;i<u.length;i++)c+=u.charCodeAt(i);
    			p='tb_html/'+(c%255)+'/tb_'+u;
    		} else {
    			u=(document.location.host.match(/[a-zA-Z0-9_-]+\.[a-zA-Z]{2,3}$/))[0];
    			for(i=0;i<u.length;i++)c+=u.charCodeAt(i);
    			p='tb_dom_html/'+(c%255)+'/'+u;
    		}
    		document.write('<'+'iframe id="av_toolbar_iframe" src="http://tb.altervista.org/'+p+'.html" marginwidth="0" marginheight="0" frameborder="0" scrolling="no" style="height:32px;border:0;position:absolute;left:0;top:'+my+';z-index:10000"><'+'/iframe>');
    		this.iframe=document.getElementById('av_toolbar_iframe');
    		this.resize();
    		if (!window.onresize)window.onresize=function(){AVToolbar.resize()};
    	}
    };
    
    AVToolbar.init();
    
    // ]]>
    </script>
    <!-- </EdNoIndex> -->
    <!-- END AV_TOOLBAR -->
    
    <p><span style="color: #000000;">...LAVORI IN CORSO...<br /></span></p>
    <p><span style="color: #000000;"><!-- pagebreak --><br /></span></p>
    <script type="text/javascript">
    //<![CDATA[
    	document.write('<s'+'cript type="text/javascript" src="http://ad.altervista.org/js.ad/size=0X1/r='+new Date().getTime()+'"><\/s'+'cript>');
    
    //]]>
    </script>
    
    </body>
    </html>
    
    
    
    
    
    <p><span style="color: #000000;"><!-- pagebreak --><br /></span></p>
    </body>
    </html>
    
    <a href="http://pieva.altervista.org/blog/"class="blank">Il mio blog</a>
    
    <script type="text/javascript">
    //<![CDATA[
    	document.write('<s'+'cript type="text/javascript" src="http://ad.altervista.org/js.ad/size=300X250/r='+new Date().getTime()+'"><\/s'+'cript>');
    
    //]]>
    </script>
    
    <p><span style="color: #000000;"><!-- pagebreak --><br /></span></p>
    </body>
    </html>
    
    <script type="text/javascript" src="http://www.altervista.org/js_tags/chat.js"></script>
    
    
    
    <p><span style="color: #000000;"><!-- pagebreak --><br /></span></p>
    </body>
    </html>
    
    
    
    
    <script type="text/javascript" src="http://www.altervista.org/js_tags/newsletter.js"></script>
    
    
    <p><span style="color: #000000;"><!-- pagebreak --><br /></span></p>
    </body>
    </html>
    
    <script type="text/javascript">
    var counter_style = 8;
    </script>
    <script type="text/javascript" src="http://www.altervista.org/js_tags/contatore.js"></script> 
    </html>
    
    LOTTO MATEMATICO-SCENTIFICO che FUNZIONA:
    Scripts di Calcolo Automatico Metodologie http://eurosalute.altervista.org

    VINCI OGNI SETTIMANA CON IL NUOVO METODO 5
    FAI IL TEST CON L'ANALISI VINCITE

  4. #4
    Guest

    Predefinito

    Citazione Originalmente inviato da EuroSalute Visualizza messaggio
    Guarda il codice html della tua pagina, ci sono multiple chiusure del </body> e </html>

    Per l'allineamento a sinistra o a destra : <div align="left"> o <div align="right"> o anche <div style="text-align: left;"> ecc.

    Codice HTML:
    <center>
    <script type="text/javascript">
    //<![CDATA[
    	document.write('<s'+'cript type="text/javascript" src="http://ad.altervista.org/js.ad/size=728X90/r='+new Date().getTime()+'"><\/s'+'cript>');
    
    //]]>
    </script>
    </center>
    
    
    <html>
    
    <head>
    <meta http-equiv="Content-Type"
    content="text/html; charset=iso-8859-1">
    <meta name="GENERATOR" content="Microsoft FrontPage Express 2.0">
    <title>HOMEPAGE</title>
    </head>
    
    <body bgcolor="#FFFFFF" text="#800000">
    <!-- BEGIN AV_TOOLBAR -->
    
    <!-- <EdNoIndex> -->
    <div id="av_toolbar_regdiv" style="position:absolute;height:30px;width:100px;border-left:1px dashed gray;background:white url(http://tb.altervista.org/img/bg1.gif);z-index:10001">
    <div style="position:relative;width:94px;text-align:center">
    <div style="position:absolute;top:10px;left:3px;font:normal 11px Arial, Verdana, sans-serif !important;letter-spacing:0 !important;border:none;padding:0 !important"><a target="_blank" href="http://it.altervista.org/crea-sito-web-gratis.php"><img src="http://tb.altervista.org/img/creasito.gif" style="border:0!important;background:none;padding:0;margin:0" alt="Siti, blog e web hosting gratis" /></a>&nbsp;<a style="font:normal 11px Arial, Verdana, sans-serif !important;letter-spacing:0 !important;border:none;text-decoration:none;color:black;background:none;padding:0;margin:0" target="_blank" href="http://it.altervista.org/">Crea sito web</a></div>
    </div>
    </div>
    <script type="text/javascript">
    // <![CDATA[
    
    AVToolbar = {
    	count: 10,
    	lw:0,
    	s:['width','marginLeft','marginRight','paddingLeft','paddingRight','borderLeftWidth','borderRightWidth'],
    	parse: function(i) { return isNaN(parseInt(i))?0:parseInt(i) },
    	msie: 0,
    
    	resize: function() {
    		var w=0,s;
    		if(this.count==0)this.count=3;
    		if (this.msie) {
    			if (this.msie<6||(this.msie>=6&&document.compatMode!='CSS1Compat')) {
    				this.iframe.style.width = document.body.clientWidth+'px';
    				this.crea.style.left=(document.body.clientWidth-101)+'px';
    				if(--this.count>0)setTimeout('AVToolbar.resize()',250);
    				return
    			}
    			else if (this.msie==6) w = document.documentElement.clientWidth-1;
    			else w = document.documentElement.clientWidth;
    		} else {
    			for(s in this.s)w+=this.style(this.b,this.s[s]);
    		}
    		if(this.lw!=w) {
    			this.iframe.style.left=(-this.style(this.b,'borderLeftWidth')-this.style(this.b,'marginLeft'))+'px';
    			this.crea.style.right=(-this.style(this.b,'borderRightWidth')-this.style(this.b,'marginRight'))+'px';
    			this.iframe.style.width=w+'px';
    			this.lw=w;
    		}
    		if(--this.count>0)setTimeout('AVToolbar.resize()',250);
    	},
    
    	style: function(el,pr,m) { // Passare le proprieta` CSS col nome javascript-like (es. marginLeft)
    		var v;
    		if(!el)return 0;
    		if (document.defaultView&&document.defaultView.getComputedStyle)v=document.defaultView.getComputedStyle(el,null)[pr];
    		else if(el.currentStyle)v=el.currentStyle[pr];
    		else v=el.style[pr];
    		return(m?v:this.parse(v));
    	},
    
    	init: function() {
    		this.crea=document.getElementById('av_toolbar_regdiv');
    		if((window.parent!=window&&typeof(av_toolbar_force)=='undefined'&&window.name!='XYZZY2')||typeof(av_toolbar_off)!='undefined'){this.crea.style.display='none';return}
    		var b,c=0,i,my,u,p;
    		this.b=document.getElementsByTagName('body')[0];
    		if (i=navigator.userAgent.match(/MSIE (\d+)/))this.msie=i[1];
    		if (this.msie&&document.compatMode!='CSS1Compat') {
    			document.write('<'+'div style="border:0;padding:0;margin:0;visibility:hidden;height:32px"><'+'/div>');
    			this.crea.style.top=my=0;
    		} else {
    			this.b.style.position='relative';
    			this.b.style.paddingTop=(this.style(this.b,'marginTop')+this.style(this.b,'paddingTop'))+'px';
    			this.b.style.marginTop='32px';
    			var bpym, bpyv, bpy;
    			if (this.msie) {
    				bpy=this.style(this.b,'backgroundPositionY',true);
    				if(bpy&&(bpyv=bpy.match(/^(\d+)px$/))&&(bpyv[1]==0))this.b.style.backgroundPositionY=(parseInt(bpyv[1])+32)+'px';
    			} else if (navigator.userAgent.search(/Firefox/)>=0) {
    				bpy=this.style(this.b,'backgroundPosition',true);
    				if(bpy&&(bpym=bpy.match(/^([\w%]+) ([\w%]+)$/))&&(bpyv=bpym[2].match(/^(\d+)(px|%)$/))&&(bpyv[1]==0))this.b.style.backgroundPosition=bpym[1]+' '+(parseInt(bpyv[1])+32)+'px';
    			}
    			this.b.style.paddingLeft=(this.style(this.b,'marginLeft')+this.style(this.b,'paddingLeft'))+'px';
    			this.b.style.paddingRight=(this.style(this.b,'marginRight')+this.style(this.b,'paddingRight'))+'px';
    			this.b.style.marginLeft=this.b.style.marginRight=0;
    			if (navigator.userAgent.search(/Opera/)>-1&&document.compatMode!='CSS1Compat')my=this.crea.style.top='-32px';
    			else my=this.crea.style.top=(-this.style(this.b,'borderTopWidth')-32)+'px';
    		}
    		if (u=document.location.host.match(/([a-zA-Z0-9]+)\.altervista\.org$/)){
    			u=u[1];
    			for(i=0;i<u.length;i++)c+=u.charCodeAt(i);
    			p='tb_html/'+(c%255)+'/tb_'+u;
    		} else {
    			u=(document.location.host.match(/[a-zA-Z0-9_-]+\.[a-zA-Z]{2,3}$/))[0];
    			for(i=0;i<u.length;i++)c+=u.charCodeAt(i);
    			p='tb_dom_html/'+(c%255)+'/'+u;
    		}
    		document.write('<'+'iframe id="av_toolbar_iframe" src="http://tb.altervista.org/'+p+'.html" marginwidth="0" marginheight="0" frameborder="0" scrolling="no" style="height:32px;border:0;position:absolute;left:0;top:'+my+';z-index:10000"><'+'/iframe>');
    		this.iframe=document.getElementById('av_toolbar_iframe');
    		this.resize();
    		if (!window.onresize)window.onresize=function(){AVToolbar.resize()};
    	}
    };
    
    AVToolbar.init();
    
    // ]]>
    </script>
    <!-- </EdNoIndex> -->
    <!-- END AV_TOOLBAR -->
    
    <p><span style="color: #000000;">...LAVORI IN CORSO...<br /></span></p>
    <p><span style="color: #000000;"><!-- pagebreak --><br /></span></p>
    <script type="text/javascript">
    //<![CDATA[
    	document.write('<s'+'cript type="text/javascript" src="http://ad.altervista.org/js.ad/size=0X1/r='+new Date().getTime()+'"><\/s'+'cript>');
    
    //]]>
    </script>
    
    </body>
    </html>
    
    
    
    
    
    <p><span style="color: #000000;"><!-- pagebreak --><br /></span></p>
    </body>
    </html>
    
    <a href="http://pieva.altervista.org/blog/"class="blank">Il mio blog</a>
    
    <script type="text/javascript">
    //<![CDATA[
    	document.write('<s'+'cript type="text/javascript" src="http://ad.altervista.org/js.ad/size=300X250/r='+new Date().getTime()+'"><\/s'+'cript>');
    
    //]]>
    </script>
    
    <p><span style="color: #000000;"><!-- pagebreak --><br /></span></p>
    </body>
    </html>
    
    <script type="text/javascript" src="http://www.altervista.org/js_tags/chat.js"></script>
    
    
    
    <p><span style="color: #000000;"><!-- pagebreak --><br /></span></p>
    </body>
    </html>
    
    
    
    
    <script type="text/javascript" src="http://www.altervista.org/js_tags/newsletter.js"></script>
    
    
    <p><span style="color: #000000;"><!-- pagebreak --><br /></span></p>
    </body>
    </html>
    
    <script type="text/javascript">
    var counter_style = 8;
    </script>
    <script type="text/javascript" src="http://www.altervista.org/js_tags/contatore.js"></script> 
    </html>
    
    grazie dell'aiuto ma con cosa lo chiudo quel domando

  5. #5
    Guest

    Predefinito

    ok ho capito però non mi permette di scrivere e mettere nulla nello spazio bianco a sinistra del banner

  6. #6
    L'avatar di EuroSalute
    EuroSalute non è connesso AlterVistiano
    Data registrazione
    12-05-2003
    Messaggi
    969

    Predefinito

    Prova anche con ---> <div style="float: left;"> qui inserisci quello che desideri e poi chiudi con </div>

    Puoi anche sovrapporre immagini o testi con --> <div style="position: absolute;">....chiudi sempre con </div>

    come posizione puoi mettere anche "relativa" a dove è inserita nella pagina.... style="position: relative;"

    ciao
    Ultima modifica di EuroSalute : 28-11-2009 alle ore 17.28.01 Motivo: più info
    LOTTO MATEMATICO-SCENTIFICO che FUNZIONA:
    Scripts di Calcolo Automatico Metodologie http://eurosalute.altervista.org

    VINCI OGNI SETTIMANA CON IL NUOVO METODO 5
    FAI IL TEST CON L'ANALISI VINCITE

  7. #7
    Guest

    Thumbs up

    Citazione Originalmente inviato da EuroSalute Visualizza messaggio
    Prova anche con ---> <div style="float: left;"> qui inserisci quello che desideri e poi chiudi con </div>

    Puoi anche sovrapporre immagini o testi con --> <div style="position: absolute;">....chiudi sempre con </div>

    come posizione puoi mettere anche "relativa" a dove è inserita nella pagina.... style="position: relative;"

    ciao
    grazie dell'aiuto ora funziona esattamente come volevo;)

Regole di scrittura

  • Non puoi creare nuove discussioni
  • Non puoi rispondere ai messaggi
  • Non puoi inserire allegati.
  • Non puoi modificare i tuoi messaggi
  •