News for hackers. Stuff that matters.
Re:The Anti-Hero of CSS Layout – “display:table” (2014) by draw_down on Saturday February 11, 2017 @10:27AM (#13623006)
Hmm, I usually only want "display: table" for... tables.
Re:The Anti-Hero of CSS Layout – “display:table” (2014) by ricardobeat on Saturday February 11, 2017 @10:53AM (#13623108)
You missed the point. The CSS table display was created to decouple this particular layout behaviour from the <table> element. The reasons for that are clearly laid out in the examples. All of this was impossible to accomplish before flexbox.
Re:The Anti-Hero of CSS Layout – “display:table” (2014) by olavk on Saturday February 11, 2017 @12:49PM (#13623719)
Yes, this is why "table { display:table }" is the suggested default CSS for browsers. If you don't have fancy layout you should not need to override this.