|
Posted by Chris F.A. Johnson on 11/04/07 00:46
On 2007-11-04, MangroveRoot wrote:
>
>
>> Of course you can't centre a float
>
> Astounding.
Why?
> > 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?
You can do it with CSS, but you don't use float:
#xx {
width: NNX;
margin: auto;
}
--
Chris F.A. Johnson, webmaster <http://Woodbine-Gerrard.com>
===================================================================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
[Back to original message]
|