News for hackers. Stuff that matters.
Re:Don't forget these tags to make HTML work like you expect by angiolillo on Monday October 27, 2025 @12:59PM (#45723408)
Setting aside the relative merits of 12pt vs 16pt font, websites ought to respect the user's browser settings by using "rem", but HN (mostly[1]) ignores this.

To test, try setting your browser's font size larger or smaller and note which websites update and which do not. And besides helping to support different user preferences, it's very useful for accessibility.

[1] After testing, it looks like the "Reply" and "Help" links respect large browser font sizes.

Re:Don't forget these tags to make HTML work like you expect by panzi on Monday October 27, 2025 @10:52PM (#45728783)
Side note: pt != px. 16px == 12pt.
Re:Don't forget these tags to make HTML work like you expect by angiolillo on Wednesday October 29, 2025 @02:43PM (#45751227)
You are correct, it should have been "px".