Comment Re:The tragedy of CSS (Score 1) 180
Calculation. Based on the current state of the screen.
Try these CSS Units: vh, vw, vmax, vmin, and %
Better control of height. I want to say "This div fills the rest of the container vertically/horizontally" One of the reasons tables are useful for layout is that you CAN do this by setting the width of a column to *. [...] Coool feature, missing from CSS.
display: table, display: table-cell, etc. should help you with that.
First, the block model. Seriously people, if I specify that a block has a width of 300 pixels I mean that the block has 300 pixels, and not the content inside the block without the padding. Really.
You could make an argument either way. Thankfully, we have box-sizing: border-box and box-sizing: content-box
It simply should not be necessary to have that level of expertise just to such a trivial thing.
Layout is not a trivial problem. Particularly when the layout needs to react to the viewport.