PDA

View Full Version : scrolling table inside div


code_pro
03-12-2009, 01:30 AM
Hi frns
I am trying to create scrolling table inside <div> tag,like this :

<div align = "left" style=" max-width:850px; width: expression(this.width > 850 ? 850 : true);max-height:600px; height: expression(this.height > 600 ? 600 : true); overflow:auto; border:0px;">
<table align ="center"><tr> <td id = "divHolder"> </td > </tr>
</table>
</div>

My this table will be populated dynamically.Otherwise its working fine,but I want to make it independent of pixels ,like 850px or 600px which I am hard coding.Due to these pixels,the size of scroll appears differently on different screens.Can somebody plz tell,how to make it screen dependent rather than pixels dependent?
Thnx

code_pro
03-12-2009, 08:58 AM
What does this "moved" means folks??:confused:
Did i asked a wrong Qs.:(:(

Pegasus
03-12-2009, 09:26 AM
I moved the question from the HTML forum over to Clientside scripting for you because it appears that your problem is more javascript related than HTML related. No worries. It happens quite often. ;)

code_pro
03-18-2009, 11:52 AM
Helloooo ,any experts there :P
My problem is not yet solved buddies :burnt: ,still waiting for urs help!!