Author: EricBlair | Posted on: 3/16/2009 2:56:25 PM | Views : 317

  In the code below:

btn_switchview.png will not display in the middle of the cell. I call changehght onpageload. The PNG always displays on the top of the cell. Can anyone see why this is the case?? This cell is in a table and row which do not have parental styles defined, not does the body or the form so this cell isn't inheriting anything. 1 function changehght()
2 {
3 var pnlelm = document.getElementById("SwitchPanel");
4
5 pnlelm.style.height = document.getElementById("divider").offsetHeight + 'px';
6
7 pnlelm.style.backgroundColor = "#336600";
8 pnlelm.style.verticalAlign = "middle&qu ...

Go to the complete details ...