4 ms·
So, what's going on here? Why does the font size keep increasing like that from not closing tags?
by ziffusion 14y ago
So, what's going on here? Why does the font size keep increasing like that from not closing tags?
- cleverjake 14y agoThey are using EM's for font-size, which is a relative measurement. This means that if you set your font-size to 1.5em, and you have an element inside (as a result of the unclosed tag) also set to 1.5, the one inside is set to 1.5 times that size (or 2.25 of the original 1em). That cascades on and on and on and...
- tagawa 14y agoIt's missing closing heading tags (h2, h3). So each heading contains a heading contains a heading... headings all the way down. EDIT: And yes, the heading tags have relative font sizes, as cleverjake pointed out.