Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS RWD: struggle with flexible padding context Reply To: RWD: struggle with flexible padding context

#171062
Ramone
Participant

A-ha! Thank you, @Atelierbram, it is much clearer for me now.
And as @traq has said, when expressing margins or paddings in percentages one should do it relatively to the element’s parent width.

P.S. BTW, as for percentage padding values the CSS spec says the same: it “refers to width of containing block”.