Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
scotty79
on Oct 27, 2014
|
parent
|
context
|
favorite
| on:
The Anti-hero of CSS Layout – “display:table”
If you use table for layout, remember to also use
table-layout: fixed;
It will improve table behavior (content will no longer affect horizontal layout of the table) and performance, saving repaints, reflows and whatnots.
cpncrunch
on Oct 27, 2014
[–]
It really depends why you are using the table layout. Quite often the reason for using tables is to lay out multiple items based on their content size, so you want the default automatica layout.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: