# Resize the graph with browser window size

**URL:** <https://community.plotly.com/t/resize-the-graph-with-browser-window-size/1332>\
**Category:** Plotly Fundamentals\
**Created:** [June 17, 2016, 2:06pm UTC](https://community.plotly.com/t/resize-the-graph-with-browser-window-size/1332 "2016-06-17T14:06:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![greggshao](https://avatars.discourse-cdn.com/v4/letter/g/a87d85/32.png) [@greggshao](https://community.plotly.com/u/greggshao)\
**Post date:** [June 17, 2016, 2:06pm UTC](https://community.plotly.com/t/resize-the-graph-with-browser-window-size/1332/1 "2016-06-17T14:06:38Z")

</div>

![](https://us1.discourse-cdn.com/flex024/uploads/plot/original/1X/a4baaf77dc965d9f2c271f7b0cd0d9968e39bf9e.png)

How can I make those graphs resizeable with browser window size? The size of each graph’s width and height are pre-calculated using %.

I feel like after the graph is created you can’t do css to change it. No matter what new height and width you pass in.
