Jun 26, 2003 #1 nabbs Programmer Joined Feb 21, 2001 Messages 18 Location GB Hi there, How can I change the <TD> height according to the screen resolution? Thanx for your help! Nabs
Hi there, How can I change the <TD> height according to the screen resolution? Thanx for your help! Nabs
Jun 27, 2003 #2 SashiRaveendran Programmer Joined Nov 6, 2001 Messages 865 Location GB put a blank image in it like a 1px * 1px transparent image into the td cell. Give it a name like 'Sizer' or whatever then in script you can say... if (screen.width > 800) {document.Sizer.height=100;} else {document.Sizer.height=5;} Upvote 0 Downvote
put a blank image in it like a 1px * 1px transparent image into the td cell. Give it a name like 'Sizer' or whatever then in script you can say... if (screen.width > 800) {document.Sizer.height=100;} else {document.Sizer.height=5;}