When I want to use padding in a div in percentages, is the percentage inherited from the div self or from the parent (wrapper) div
Thank you in advance
When I want to use padding in a div in percentages, is the percentage inherited from the div self or from the parent (wrapper) div
Thank you in advance
Padding percentages (and margins) are based on the width of the element itself; no parent involved.
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.