Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Auto determining right content
Message
De
25/02/2017 05:52:07
 
 
À
24/02/2017 10:58:59
Information générale
Forum:
CSS
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01648468
Message ID:
01648504
Vues:
33
>I have a test page at http://jsfiddle.net/WcHEc/36.
>
>This is a sample container with two divs. The first one is fixed. For now, it only includes "Small text small text". The second one has to take as much space as possible until it wraps. To make it wrap, percentage approach is used. So, the text resizes as required, and then, it wraps.
>
>What I need is all that but to have the second div to take as much space as possible before it wraps without being forced to add a percentage.
>
>Anyone would know the best technique?

Michael:

Why don't you use Bootstrap? It's much more easy to do this, and allow you to make it work for phones.

Update:

Some examples:
http://getbootstrap.com/getting-started/#examples
http://www.tutorialrepublic.com/codelab.php?topic=bootstrap&file=two-column-grid-layouts-for-all-devices
https://www.w3schools.com/bootstrap/bootstrap_grid_examples.asp
Fernando D. Bozzo
Madrid / Spain
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform