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>

Rispondi quotando