Quote:
Originally Posted by nerbert
Erica1977, try this and if it works I'll update the file.
Use this code
PHP Code:
cells[i].childNodes[1].style.width=''+(width+12)+'px';
cells[i].childNodes[3].style.width=''+(width+12)+'px';
to modify the lower part of function setWidth() to look like this:
PHP Code:
function setWidth() {
for(i=0; i<cells.length; i++) {
if(is_ie) {
cells[i].childNodes[0].childNodes[0].style.width=''+width+'px';
cells[i].childNodes[0].childNodes[1].style.width=''+width+'px';
cells[i].childNodes[1].childNodes[1].style.width=''+width+'px'
cells[i].childNodes[2].style.width=''+(width+47)+'px';
}
else {
cells[i].childNodes[1].style.width=''+(width+12)+'px';
cells[i].childNodes[3].style.width=''+(width+12)+'px';
//cells[i].childNodes[1].childNodes[1].style.width=''+width+'px';
//cells[i].childNodes[1].childNodes[3].style.width=''+width+'px';
//cells[i].childNodes[3].childNodes[1].style.width=''+width+'px'
cells[i].childNodes[5].style.width=''+(width+47)+'px';
}
}
}
You must view in a non-IE browser
|
no i use f,f but still doesnt work i just dont get it thanks for trying to help.