3 ms·
From the article: "The standardization bodies have probably had their reasons, but it doesn’t feel at all intuitive to have the CSS width and height of an eleme
by mmmbane 13y ago
From the article: "The standardization bodies have probably had their reasons, but it doesn’t feel at all intuitive to have the CSS width and height of an element affected by its padding and borders."
And not only are height and width affected by padding+borders, they are affected in different ways, respectively. It's just weird. Does anybody have any insight into what the standardization bodies' reasons were?
- rimantas 13y ago> And not only are height and width affected by > padding+borders, they are affected in different ways, > respectively What do you mean by that? Difference between block and inline elements, collapsing margins or something else?