PDA

View Full Version : Nested div + text issue?


badutahboy
01-06-2009, 06:55 AM
This is probably a really easy solution, but I'm too noobish to figure it out.

I'd like to next a div inside my page's main content div with a form in it.

However, when I try, the text inside that content div flows behind the new div, instead of wrapping around it.

I know how to make the text wrap around images, but is there an easy way to make it wrap around nested divs? I can't seem to figure it out.

edbr
01-06-2009, 07:11 AM
if yo have a contained div, and inside that add adiv floated rihht then texy in the contained will wrap around the floated div if in doubt post your code as it is not clear how you have made your divs

badutahboy
01-06-2009, 05:52 PM
I typically draw my divs using the "draw AP div" tool... is this causing my problem?

Corrosive
01-06-2009, 05:56 PM
I typically draw my divs using the "draw AP div" tool... is this causing my problem?

Probably. Use relative positioned div tags. Insert>Div Tag (I think).

Have a look here

http://zebrachildren.co.uk/contact.htm

and view>source. I have put the form inside a div called 'container' and then in the 'middle_column' div. Your code should look something like this.

badutahboy
01-06-2009, 07:49 PM
Thx corrosive, I'll give that a try

Chapo
01-10-2009, 04:28 AM
Hey Corrosive... thats a nice site... really nice and simple..!!!

Corrosive
01-10-2009, 12:02 PM
Hey Corrosive... thats a nice site... really nice and simple..!!!

Cheers Chapo. It's getting less simple as we are adding an online store in the next week or so :wink: