On Apr 17, 11:41 am, Jonathan <[EMAIL PROTECTED]> wrote: > Hi, > > Can you please tell me point me to the code which does Centering in > nsBlockFrame? > In other words, how does nsBlockFrame calculate the beginning x of > each line in side a center block. > > For example, this: > <center> > <p> > <br><font size="-1"><a href="/intl/en/ads/">Advertising Programs</ > a> - <a href="/services/">Business Solutions</a> - <a href="/intl/en/ > about.html">About Google</a></font><p><font size="-2">©2008 Google</ > font> > > </p> > </center> > > Thank you for any pointers.
Sorry, I find it. nsLineLayout::HorizontalAlignFrames(). _______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

