reszing div width size with jquery
<p>I have a about 200 px width size div on the right side of the website.</p>

<p>It is like facebook chat box that provide recent timeline.</p>

<p>Here is the code that I am using to resize html div</p>

<pre><code>$(document).ready(function()
{
    $("#right_timeline_div").css("width", $(window).width() - 1200);
});
$(window).resize(function()
{
    $("#right_timeline_div").css("width", $(window).width() - 1200);
});
</code></pre>

<p>My code only shrink certain size of div. </p>

<p>I would like to change the div width size when the browser gets smaller size.</p>

<p>Let's say if the browser is 1200px wide, then I wanna decrease the right sidebar size with jquery.</p>

<p>I tried a lot of methods from here but it didn't work.</p>

<p>Thank you for reading my question, I hope this help other viewers who have same problem like me. </p>
