I have a script which works out the browser window heigh, minus the height
of an image, and divides by 2. This is so that I can vertically align an
image, centrally. The only problem is I have no clue how to set the 'top:'
value to be the same as this value. Is there any way to assign a JavaScript
value to the corrsesponding CSS property value? If not is there any other
way around this problem?
Brion
of an image, and divides by 2. This is so that I can vertically align an
image, centrally. The only problem is I have no clue how to set the 'top:'
value to be the same as this value. Is there any way to assign a JavaScript
value to the corrsesponding CSS property value? If not is there any other
way around this problem?
Brion
Comment