Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Wrapping Div to use min and max
Message
De
23/02/2017 09:21:05
 
 
À
Tous
Information générale
Forum:
CSS
Catégorie:
Codage, syntaxe et commandes
Titre:
Wrapping Div to use min and max
Divers
Thread ID:
01648421
Message ID:
01648421
Vues:
37
I have Div definition into which they wrap, based on the browser size. I need each one to have a minimum width. So, that worked. But, if I do not specify a maximum width, the wrapping is not supported. So, I specified a maximum width.

But, because there is a maximum, the text width of each div no longer resizes to its minimum when I resize the browser.

Here is the page:

https://jsfiddle.net/6wc0uaoq

Basically, I am looking for this:

1. Wrap support (either everything on one line or multiple lines as we diminish the browser width)
2. Minimum width of each div to be 260px

The maximum width is not required. I would prefer to not have it. But, I cannot have wrap support if it is not there.

I use a master div with display table. Each div has a display inline-table.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform