Wouldn't this be more easily done using javascript if you just need to display the div? Does your text box or div have server-side code attached to it which makes client side inappropriate?
hericles
Practically a Posting Shark
823 posts since Nov 2007
Reputation Points: 136
Solved Threads: 167
are generating dynamic textbox using javascript or from code behind...?
dnanetwork
Practically a Master Poster
633 posts since May 2008
Reputation Points: 28
Solved Threads: 106
I'd be tempted to do this client side in javascript. If need be you can call a function at the bottom of the page (to ensure everything has finished loading) and alter the position of the div if necessary.
Of course, you could make this work (probably, I haven't tried it) through good use of CSS and applying the right class to the div and text box when you create them
hericles
Practically a Posting Shark
823 posts since Nov 2007
Reputation Points: 136
Solved Threads: 167