Displaying variable text length

Hi,

What is the best way to display text from a database when the length can vary greatly?

I’m trying to load a product description onto my page but if the text from the database is short then there is a big gap on my page. Vice versa if the text is large then it overlaps different parts of the page.

Can anyone suggest any ideas?

I’ve tried using a textbox due to it having a scroll feature however the colour of the text and the box changes which makes it unreadable.

Thanks

You can solve this in 2 ways:

  1. You can change the colors in design of the textbox to make it readable it will have sliders.

  2. You can collapse that item and expand on onready function. Collapsed items doesn’t take space and when they are expanded they just push the following items down.