Page 1 of 1

NN and IE display tables differently on row.style.display

Posted: Wed Oct 05, 2005 7:40 am
by bugthefixer
The code to display a prticular row is something like this

Code: Select all

function checkOther()
{
var other = document.getElementById("rowOther");
if(document.frmAddItem.cboName.options[document.frmAddItem.cboName.selectedIndex].value == "other")
	other.style.display = "block";
else
	other.style.display = "none";
}
where rowOther is the ID of row.....

now the problem is on display it works fine in IE but the alignment of row is disturbed in Netscape

Posted: Wed Oct 19, 2005 10:40 am
by kendall
i think its inline unless u need it block for a specific reason?