2 ms·
I kept waiting for the payoff of the title. What did I miss? Just that you can avoid some coordinate concerns? That is, pixels have become a convenient coord
by taeric 9y ago
I kept waiting for the payoff of the title. What did I miss? Just that you can avoid some coordinate concerns?
That is, pixels have become a convenient coordinate space for building a site. If you are willing to actually design more with absolute positioning, many designs become much easier to build up.
Instead, we seem to always want to just be more terse, not more explicit. Take the "just float the logo" idea. Why float it? Text isn't supposed to redraw around it, so it isn't really floated into the header. Float is just quicker to type than giving coordinates.
None of which is to say the DSL that this gives isn't neat. It is. Some folks actually had DSLs like this for older sites. We just seem to jump through more hoops than makes sense to make things "float" instead of just positioning them directly.