Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS CSS Layout Basics CSS Layout Project Introducing the Project

Seth Schori
Seth Schori
2,671 Points

How can I get my browser to re-draw a webpage while I'm resizing the window, just as Guil's browser does in the video?

When Guil resizes his browser window in the videos, his browser dynamically re-draws the webpage while it's being resized. This allows him to easily see which browser width needs a break point.

When I resize my browser window the webpage stays the same while I'm dragging the window and only gets re-drawn after I let go of the mouse. This makes it much more tedious to find a break point because I have to keep dragging, letting go to see the result, and repeating the process many times.

I've tried searching online but haven't come up with an answer. Does anyone know whether this is a browser setting that I can change to enable dynamic re-drawing, or is this a limitation of my browser or OS? FYI, I'm using the latest version of Chrome (49.0.2623.87 m) on Windows 7.

2 Answers

Steven Parker
Steven Parker
229,606 Points

In System/Performance Options/Visual Effects, is "Show window contents while dragging" checked? Some of the other performance options might affect that also, but that one comes to mind first.

Other than that (and I'm not sure it would affect it), check Chrome's "Hardware Acceleration" setting.

Seth Schori
Seth Schori
2,671 Points

Thank you, Steven, that was exactly it!

I'll elaborate slightly on your answer for others who may be having this issue in Windows 7:

Go to System Control Panel, click on Advanced system settings, then Performance/Visual Effects (as you pointed out).

Thanks again!