Hacker News new | past | comments | ask | show | jobs | submit login

> You can't specify the width of an inline element, for one.

  display: inline-block;
  width: ...

?



Unfortunately, bad browser support :/

http://www.quirksmode.org/css/display.html


That was primarily in the context of "Also problematic is a standards body that ignores this use case!" part of your comment.

Besides if you don't care about antiquated browsers (eg IE6), the inline-block is a viable option. In IE it will require some massaging, but it can be made to work quite easily.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: