If you use File->Extract Form Files while you're designing the form, you can
view the XSL (and XHTML+CSS) used to create the form. Set the value to be
top-left beforehand, so you have the style to play around with.
Open the XSL for your view in Notepad, then just change the
background-position style to be "center center". You can re-open the XSF
file in that folder in the designer, then perform save-as to repackage all
those files into an XSN. Your centered style should remain just fine.
This isn't included by default, because InfoPath forms with layout tables
and repeating containers don't grow as the window expands, so most of the
time an iamge that moves around would be in an unpredictable location.
Brian
> Does anybody know if there is a way to center a background image in
> InfoPath?
[quoted text clipped - 17 lines]
>
> ~Johnny
Johnny Corona - 13 Oct 2004 02:11 GMT
Nice, Brian! Worked like a charm.
The appropriate tag for me was "top center" - I have it repeating vertically.
FYI, it's a nice feature for making slick looking forms. Might consider
this is a feature in the next rev.
Thanks!
~Johnny
> If you use File->Extract Form Files while you're designing the form, you can
> view the XSL (and XHTML+CSS) used to create the form. Set the value to be
[quoted text clipped - 32 lines]
> >
> > ~Johnny
Johnny Corona - 13 Oct 2004 02:13 GMT
Nice, Brian! Worked like a charm.
The appropriate tag for me was "top center" - I have it repeating vertically.
FYI, it's a nice feature for making slick looking forms. Might consider
this is a feature in the next rev.
Thanks!
~Johnny
> If you use File->Extract Form Files while you're designing the form, you can
> view the XSL (and XHTML+CSS) used to create the form. Set the value to be
[quoted text clipped - 32 lines]
> >
> > ~Johnny