Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Complication with margins
Message
De
11/11/2016 08:08:54
 
 
À
11/11/2016 04:24:30
Information générale
Forum:
CSS
Catégorie:
Autre
Divers
Thread ID:
01643109
Message ID:
01643168
Vues:
38
>And why don't you just use a margin-left of 10, so you haven't the margin-right problem?

If I do that, I will not be able to align the content with the rest of the site on the left.

Usually, people would go with centered at margin-right 5 and margin-left 5. So, at least, that would diminish the gap on the right. But, while it may look good when you have a specific number of items on each row, if you end up with only one item on the last row, that one would fall by itself in the middle and that would break the alignment.
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform