Thank you all very much for the proposed solutions, here are the
results:

@Dan G.:
Dan, I added what you proposed but it seems to center the red panel in
the center of the screen, I'm try just to center text within the red
panel.

@Gearóid:  What you suggested in already in the sample, doesn't work.
(to see change sample url to test2.htm)

@Micky:  I did research the CSS only techniques but the good ones all
require 1 or more images (heavier), where as the jquery solution uses
zero images.  Also this technique seems well respected in the jquery
communuty, and if I use jquery anyway why not the best jquery solution
right?

Well three people who know more than me responded and still no
centered text, this is getting scary.

regards,
ltg


On Jun 30, 6:23 am, Gearóid O'Ceallaigh <[EMAIL PROTECTED]> wrote:
> 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