Link to home
Start Free TrialLog in
Avatar of jagku
jagkuFlag for United States of America

asked on

How to dynamically close gaps within a table

Hello Experts,

I want to create a table with 3 columns.

Please see this example:
Example

What I want to acheive is the falling output:

->a ->b ->c
->d ->e ->f
->g ->h

If I then remove an element, I want the table to clean up.
Eg, if I remove "->e ":

->a ->b ->c
->d ->f
->g ->h

Is this possible with CSS. I want to be able to add/remove these elements at will and let the css 'tidy' up the table.

Thanks!
ASKER CERTIFIED SOLUTION
Avatar of COBOLdinosaur
COBOLdinosaur
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial