Hi Abyss,
Horizontal centering can be done like this:
body {
text-align: center; /* cos older browsers need this */
}
#CntBody {
width: 500px; /* a width is required to make this work */
margin: 0 auto;
text-align: left;
}
Vertical centering with a div of variable height is trickier but this
article might help: http://www.jakpsatweb.cz/css/css-vertical-center-
solution.html
Regards
Greg
--
www.purple-dogfish.co.uk
On 3 Jun 2005, at 00:46, Abyss wrote:
What i would like to know is how to center that form smack in the
middle of the page with out the use of tables...(and if possible
have it centered but with a left align
eg have them in the center but not all aligned center? ..does that
make sense?)
Thanks heaps
Regards,
TIA
Abyss..
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/