Skip to content

u/mkantor

In this archive from Jun 2009 to Feb 2015

0
posts
63
comments
0
media
384
score

Top comments

One of the basic principles of modern web technologies is the separation of presentation from structure. That approach couples them together, which is why I called it a "hack".

If it's really that much of a problem, why don't we just use fonts with better kerning built-in? Modern browsers' broad support for web fonts means it's now easy to use any font you want on the web (assuming they don't fuck up rendering like Chrome apparently did in this case).

18 points

HTML has collapsable whitespace. You could type 500 spaces in a row in the source code of a website and have it just show up as one (look at the source of this comment if you don't believe me). You have to use different whitespace characters (like a non-breaking space, whose HTML entity is &nbsp;, example:      ) or an element that preserves formatting (<pre>) if you really want to have multiple spaces in a row.

In other words what reddit and "so many other websites" do is nothing, it's the default and intended behavior of your browser's rendering engine. If anything, blame the W3C.

17 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.