3 ms·
> You can't specify the width of an inline element, for one. display: inline-block; width: ... ?
by huhtenberg 16y ago
> You can't specify the width of an inline element, for one.
display: inline-block;
width: ...
?
- rabidgnat 16y agoUnfortunately, bad browser support :/ http://www.quirksmode.org/css/display.html http://www.quirksmode.org/css/display.html
- huhtenberg 16y agoThat 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.