Connecting Tech Pros Worldwide Forums | Help | Site Map

div height and scrollbars

Newbie
 
Join Date: Sep 2006
Posts: 1
#1: Sep 15 '06
Hi experts!

i am using div tag to display containts from database, but i am facing one problem when i use it to display the string generated by simple(Not using XML) Ajax code. Initially it run fine but when i call java script to genarate Ajax script and replace value changed then original div which shows one colum now shows data in two colums and appeard one horizontal scrollbar.

div tag i used is as follows:
<div id='d101' style="height: 275px; background-color:#CeCeCe; width: 400px;overflow: auto">
<table width="100%" height="350" border="0" cellspacing="0" cellpadding="0" align="left">

(presentation logic)

</table>
</div>

Thanks in advance :)

Reply