Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 06-19-2009, 05:28 PM   PM User | #1
lordmeka
New to the CF scene

 
Join Date: Jun 2009
Location: Romania
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
lordmeka is an unknown quantity at this point
Unhappy Dinamic Wrap Table Cell or DIV's

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
lordmeka is offline   Reply With Quote
Old 06-19-2009, 05:32 PM   PM User | #2
VIPStephan
The fat guy next door


 
VIPStephan's Avatar
 
Join Date: Jan 2006
Location: Halle (Saale), Germany
Posts: 7,613
Thanks: 5
Thanked 865 Times in 842 Posts
VIPStephan is a jewel in the roughVIPStephan is a jewel in the roughVIPStephan is a jewel in the rough
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.
__________________
Don’t click this link!
VIPStephan is offline   Reply With Quote
Users who have thanked VIPStephan for this post:
lordmeka (06-19-2009)
Reply

Bookmarks

Tags
css, div, dynamic, table, wrap

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:09 PM.


Advertisement
Log in to turn off these ads.