HTML Show picture that fits screen -


i have followin code, shows picture:

<html> <head> <style>* {margin:0;padding:0;}</style> </head> <body style="margin: 0; padding: 0"> <center> <script type='text/javascript'><!--//<![cdata[    var m3_u = (location.protocol=='https:'?'url1':'url2');    var m3_r = math.floor(math.random()*99999999999);    if (!document.max_used) document.max_used = ',';    document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);    document.write ("?zoneid=1");    document.write ('&amp;cb=' + m3_r);    if (document.max_used != ',') document.write ("&amp;exclude=" + document.max_used);    document.write (document.charset ? '&amp;charset='+document.charset : (document.characterset ? '&amp;charset='+document.characterset : ''));    document.write ("&amp;loc=" + escape(window.location));    if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer));    if (document.context) document.write ("&context=" + escape(document.context));    if (document.mmm_fo) document.write ("&amp;mmm_fo=1");    document.write ("'><\/scr"+"ipt>"); //]]>--></script><noscript><a href='url3' target='_blank'><img src='url4' border='0' alt=''/></a></noscript> </center> </body> </html> 

and want make picture fits screen, , have tried put width="100%" in img, in href... same size.

how can make it?

you can use backstretch jquery. backstretch jquery plugin allows add dynamically-resized background image page. image stretch fit page, , automatically resize window size changes.

here example:

http://srobbin.com/jquery-plugins/backstretch/


Comments

Popular posts from this blog

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -