Originally Posted by low tech
In your code the div has no Id 'left'.
Just an idea
You could create a new class and change to that --- still need to give the div and id though.
var styleLrg = document.getElementById('left');
styleLrg.className = "newClassName";
Thanks. I never use ID tags in html so that always throws me off.
Anyway, I just did it with CSS, by adding the border, and positioning it off the screen to the left by the equivalent pixels of the border width.
border-left:2px; position: relative; left: -2px;
So then it becomes visible on the window resize.