David Hyatt wrote: > > Float the div. <div style="float:left">... Then you're running into all kinds of browser floating bugs. And, - You have to make the next element clear. - It doesn't work well when you already have floats - You can't center the result because it's floated to one side. No, "display: table" is much better than that. But even better would be adding David Baron's suggested value, 'intrinsic', to 'width' for CSS3. http://www.w3.org/TR/2002/WD-css3-box-20021024/#the-width (BTW, you really should trim your replies.) ~fantasaiReceived on Friday, 14 March 2003 22:57:16 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:20 GMT