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