PDA

View Full Version : Dinamic Wrap Table Cell or DIV's



lordmeka
Jun 19th, 2009, 06:28 PM
Hello i am making a Corel Draw x4 addon and it uses HTML layout

I want to make a table that wraps the cells depending on the windows width
I don't need the text in cells to wrap but the cell it self to move to another place.

If i can do this thing without a table maybe separate paragraphs or div's and css please tell me.

Thank You

VIPStephan
Jun 19th, 2009, 06:32 PM
You can do this with floated divs. Each div would represent a cell to which you would assign a width and a height. Then you float these divs to the left or right (whatever you prefer) and whenever the user resizes the viewport the “cells” would switch the lines when they use more space than available.