+ 2

Different between inline and block element

Can someone tell me, why font size look different when I set font-size:13px to both <span> and <table>. <table> font size look bigger than <span>.

7th Nov 2017, 2:23 PM
Yen
Yen - avatar
4 ответов
+ 15
Hmm are you sure the style was applied correctly without being overriden in both cases? From what I know some browsers often include their own stylesheets to style different things but it's unlikely to affect the font size. Perhaps a code snippet would be helpful so we can find it out together. 😉
7th Nov 2017, 4:51 PM
Zephyr Koo
Zephyr Koo - avatar
+ 7
Bie, Congrats for Platinum😉
1st Feb 2018, 4:12 AM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 5
I just checked, both style correctly. Just the visual difference in between lower and uppercase. And my colleague keep ask me "why" from yesterday until now....end up, I ask him to compare all in "lowercase"..... zzz
8th Nov 2017, 1:26 AM
Yen
Yen - avatar