Javascript

I know we're not really suppose to use Javascript however there are a few really useful things that isn't doable with CSS. (unless you find out how, let me know)

= Stretch and Scale CSS Background = toc

Use this markup: code format="default prettyprint" 
 * || Scaling an image with css is not quite possible, a similar effect can be achieved in the following manner though:

code with the following css: code format="default prettyprint" width : 100 %; height : 100 %; position : absolute ; left : 0px ; top : 0px ; z - index : 0 ; }
 * 1) background {

. stretch { width : 100 %; height : 100 %; }

code || =how to Set the browser window size using JavaScript= Put this code under the in HTML code format="html4strict"  window.resizeTo(300,400); code