Jump to content


Locating


  • You cannot reply to this topic
No replies to this topic

#1 meadow

    Young Padawan

  • Members
  • Pip
  • 224 posts
  • Location:Devon, England
  • Interests:Php, Hockey, mysql, web design.

Posted 22 October 2006 - 06:59 AM

How would I locate a div directly below an existing one so that if the top div expands vertically the bottom div moves down the page?

For example, if I had this code in a table:
<table width="90%"  border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
	<td valign="top" bgcolor="#CCFFCC"><p>Some text.</p></td>
   </tr>
  <tr>
	<td bgcolor="#CCFFCC">More text</td>
 </tr>
</table>

No matter what I replaced "some text" with, "more text" would always be below it, is it possible to do this with 2 divs?

Edited by meadow, 22 October 2006 - 06:59 AM.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users