Home › Forums › CSS › Padding in percentages – for fixed element › Reply To: Padding in percentages – for fixed element
December 11, 2014 at 11:41 am
#190641
Participant
I see. I guess this is a good example of “what is the DOM actually”.
As for the issue: the only way I can seem to figure it out is to use JS (detect width of parent, check percentage value, apply padding in pixels). But that feels dirty.