Forum Moderators: not2easy

Message Too Old, No Replies

Setting up 2 divs in a column?

div

         

patmagpantay

6:48 am on Aug 21, 2007 (gmt 0)

10+ Year Member



Hi guys! I am trying to make two div tags opposite each other.. like a table with 2 columns. I made 2 divs 200 width height is set on auto. But when i try to place on content it doesn't word wrap hence overlapping the text on the div beside it. How can i make it so that the divs automatically breaks a line when it reaches its end?

longboy

6:57 am on Aug 21, 2007 (gmt 0)

10+ Year Member



you need to define float: left; or float: right; in both div declartion css.