Is it possible to change a div\'s width live with jQuery? And if it is, how?
div
What I want is to change its width depending on the browser\'s window width
You can use, which will be triggered when the window resizes.
$( window ).bind("resize", function(){ // Change the width of the div $("#yourdiv").width( 600 ); });
If you want a DIV width as percentage of the screen, just use CSS width : 80%;.
width : 80%;