Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Complication with margins
Message
From
11/11/2016 13:12:11
 
 
To
11/11/2016 13:08:25
General information
Forum:
CSS
Category:
Other
Miscellaneous
Thread ID:
01643109
Message ID:
01643199
Views:
26
>Did you try :last-child pseudo-class selector? https://www.w3.org/TR/css3-selectors/#last-child-pseudo

I believe that would be on the last item only. In my case, this wraps on several rows. I only showed the first row. But, I have about 6. So, the goal is to avoid the margin-right on the last item on each line, no matter if we have 4 items, 3 or 2, depending on the browser resizing. Later on in this thread, I then found the column-gap css but that does not work at all. There might be some conflict based on what is inside such a div when the column-gap applies.
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
Previous
Reply
Map
View

Click here to load this message in the networking platform