[thelist] Centering in IE6?
aardvark
roselli at earthlink.net
Tue Mar 19 10:56:01 CST 2002
> From: "Luther, Ron" <Ron.Luther at COMPAQ.com>
>
> Hi Aardvark!
hi ron!
> Just tried it, (with and without a text-align: "center";), no go.
fsck it. yer on yer own, pal...
> IE6 still don't like it. [It *does* take the color specifications -
> so it is reading in the CSS. It's just kinda stuck at the left
> margin.]
ok, bad answer on my part.... FWIW, i do believe margin:auto is
the preferred way to center <div>s.... at least according to those
who interpret the specs, since the specs seem somewhat silent on
the issue...
if your <div> is a % width, then your margins are the remaining %
divided by 2... otherwise... well... dunno what to tell you...
i think this is why i gave up on centering...
More information about the thelist
mailing list