Quote:
Originally Posted by low tech
Hi
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.
Code:
var styleLrg = document.getElementById('left');
styleLrg.className = "newClassName";
LT
|
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.
i.e;
border-left:2px; position: relative; left: -2px;
So then it becomes visible on the window resize.