|
Posted by Ben C on 11/04/07 18:30
On 2007-11-04, MangroveRoot <zcukpkn02@sneakemail.com> wrote:
>> Of course you can't centre a float
>
> Astounding.
>
> > so I hope that's not your next question.
>
> Actually, it is. I can do that with the much-deprecated tables,
> why can't I do this with the much-vaunted CSS?
I think that's me you're quoting. I can't remember what you were trying
to do, but it sounds like centred shrink-to-fit block.
Of course you can do that with CSS, using display: table or display:
inline-block, for example.
Just don't expect either to work in IE.
Navigation:
[Reply to this message]
|