@Giuliano:  Great job in finding a work around - your idea works,
thank you.

Secondly I believe I have found the root cause of the problem:

It appears the latest version of curvyCorners has a bug that inverts
the value of the "autoPad" parameter.  Changing autoPad to false works!
@#$.  This can't be intentional because other samples using older
versions do exactly the opposite.

Thanks again all who helped.

ltg





On Jun 30, 9:07 am, "Giuliano Marcangelo"
<[EMAIL PROTECTED]> wrote:
> Line 101 of the curvy corners js file, find $(contentContainer).css({
> ......, *float:"left"*, .....,....,.....,}); remove the
> *float:left*declaration and the text will centre.....
>
> tested in IE7,FF,Opera,Safari (Windows)....
>
> 2008/6/30 Gearóid O'Ceallaigh <[EMAIL PROTECTED]>:
>
>
>
> > Why not just define a css class with "text-align: center" and add this
> > to whatever element you need centering?
>
> > I'm presuming you want to center the "preview" text in the example so
> > this should center it to your rounded corner div. If you want it
> > centered vertically also, you may have to use some relative
> > positioning.
>
> > Hope that helps.
>
> > On Jun 30, 7:47 am, LTG <[EMAIL PROTECTED]> wrote:
> > > I really did not want to post here and ask for help on centering
> > > text.  But I have created the simplest possible JQuery sample page,
> > > used Firebug, and still can't figure it out.
>
> > > Can anyone say what it would take to center text on this page:
>
> > >http://dev.hdgreetings.com/test.htm
>
> > > Any help would be so appreciated.
> > > regards,
> > > ltg

Reply via email to