Here's some discussion of centering of block elements using CSS:
http://www.alistapart.com/discuss/read.cfm?forum=52&id=1059&thread=267
that works with mozilla. Maybe you can adapt that to work with vertical
centering.

-Steve


GJK wrote:
> 
> Nope, that applies only to inline elements.  See
> "http://www.w3.org/TR/REC-CSS1#vertical-align".   I'm talking about
> block elements.
> 
> In article <97klkt$[EMAIL PROTECTED]>,
>  "Garth Wallace" <[EMAIL PROTECTED]> wrote:
> 
> > "GJK" <[EMAIL PROTECTED]> wrote in message
> > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > I finally understand the mechanics behind horizontal centering using
> > > CSS1 in Mozilla by applying the appropriate values to margin-left and
> > > margin-right.  Checking through the CSS1 spec, there's no mention of
> > > vertical centering anywhere.  Am I just missing something, or does CSS1
> > > completely miss vertical centering?  Is there currently any valid method
> > > for vertical centering in Mozilla?
> > >
> > > (No invalid code or frames!)
> >
> > vertical-align: middle
> >
> > I think.
> >
> >

Reply via email to