tags:

views:

32

answers:

1

Hello, I am loading some text dynamically into a div, but have the problem that everything below this div is moving around depending on the content loaded.

How would I limit the space belonging to the div with the dynamic content, such that the user only sees the text changing not the layout of the page.

thank you.

patrick

+4  A: 

Apply a height to the div with CSS.

Jeremy
+1 and/or a width of course
The Guy Of Doom
+1 and decide if/how you want to handle the overflow.
Sonny Boy