This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Strange problem: space between two div's

 
Arvind Anandala
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have div's vertical aligned in jsp, one after the other. The data for the table in the first div will comes from backend as shown below. for less amount of data, which i sent from the backend. it is working fine,such that, i haven't find any spaces between two consecutive divs.if i send, more data from backend, i got spaces between two div's which is nearly to 3000 px.i.e margin space and they are dependent divs, when clicking in the first div, the second div is visbible then, i tried with attributes margin-bottom by cheating -3000 px, but in the long run if they send less data, then the second div, will not appear, i tried with postion:relative, can, any one suggest, what is the problem which leads to error.


<div style='BORDER-RIGHT: black 1px solid; PADDING-RIGHT: 1px; OVERFLOW-X: scroll; OVERFLOW-Y: scroll; PADDING-LEFT: 0px; Z-INDEX: 2; PADDING-BOTTOM: 0px; HEIGHT: 170px; WIDTH: 1000px; PADDING-TOP: 1px;vertical-align:text-top;top:200px'>

<table>
<tr><td></td></tr>
while(crsGetData.next())
<td></td>
</table>
</div>

<div style='BORDER-RIGHT: black 1px solid; PADDING-RIGHT: 1px; OVERFLOW-X: scroll; OVERFLOW-Y: scroll; PADDING-LEFT: 0px; Z-INDEX: 2; PADDING-BOTTOM: 0px; HEIGHT: 170px; WIDTH: 1000px; PADDING-TOP: 1px; vertical-align:text-top; top:200px'>


 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic