Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


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: