Visualizzazione dei risultati da 1 a 4 su 4

Discussione: background 100%

  1. #1
    Utente di HTML.it
    Registrato dal
    Jun 2010
    Messaggi
    10

    background 100%

    ciao a tutti volevo sapere come impostare l'immagine background a 100% in modo da vederla su tutte le risoluzioni, senza però usare fogli di stile css. vi allego il codice della pagina che ho creato:

    codice:
    <html>
    
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>titolo</title>
    <SCRIPT LANGUAGE="JavaScript" SRC="javascript/JSFX_Layer.js"></SCRIPT>
    <SCRIPT LANGUAGE="JavaScript" SRC="javascript/JSFX_Browser.js"></SCRIPT>
    <SCRIPT LANGUAGE="JavaScript" SRC="javascript/JSFX_Bubble.js"></SCRIPT>
    <SCRIPT LANGUAGE="JavaScript">
    function JSFX_StartEffects()
    {
    	JSFX.Bubble(14,"<FONT FACE='Arial' SIZE=4 COLOR='0099cc'>O</FONT>", 200);
    	JSFX.Bubble(14,"<FONT FACE='Arial' SIZE=4 COLOR='0099cc'>O</FONT>", 250);
    }
    </SCRIPT>
    <style>
    <!--
    body         { background:#000032 url('immagini/j0414055.jpg') no-repeat fixed center; color: #CCCCCC; margin: 0; padding: 0; font-family: Verdana; font-size: 8pt;  overflow: hidden}
    a:link       { text-decoration: none; font-family: Verdana; font-size: 8pt; color: #333333 }
    a:hover      { font-family: Verdana; font-size: 8pt; color: #333333; font-style:italic; font-weight:bold }
    a:visited    { text-decoration: none; color: #333333; font-family: Verdana; font-size: 8pt }
    a:active     { text-decoration: none; font-family: Verdana; font-size: 8pt; color: #333333 }
    -->
    </style>
    </head>
    
    <body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0" onLoad="JSFX_StartEffects()">
    
    <div align="center">
    	<table border="0" width="100%" id="table1" cellspacing="0" cellpadding="0" style="padding: 0" height="100%">
    		<tr>
    			<td align="center" width="100%" height="100%" style="padding: 0">
    			<p style="margin-top: 0; margin-bottom: 0">
    			<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="1150" height="550">
    				<param name="movie" value="storia.swf">
    				<param name="quality" value="High">
    				<param name="wmode" value="transparent">
    				<embed src="storia.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="1150" height="550" quality="High" wmode="transparent"></object>
    			</td>
    		</tr>
    	</table>
    </div>
    
    </body>
    
    </html>

  2. #2
    se è in un tag html fai così:
    codice:
    <tag style="width: 100%; height: 100%">
    Naturalmente modificando "tag" con il tag html scelto.

  3. #3
    Utente di HTML.it
    Registrato dal
    Jun 2010
    Messaggi
    10
    non ho mica capito come devo fare sai?

  4. #4
    http://forum.html.it/forum/showthrea...readid=1407598


    la prossima volta cerca nel forum.. ne abbiamo parlato si o no 2 giornoi fa della stessa problematica

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.