how to apply custom css to infopath form?. - InfoPath Dev
in

InfoPath Dev

how to apply custom css to infopath form?.

Last post 12-28-2008 09:53 PM by Anuma. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 12-16-2008 09:54 PM

    how to apply custom css to infopath form?.

    please tell me how to apply own css to infopath form2007?.

  • 12-16-2008 10:55 PM In reply to

    Re: how to apply custom css to infopath form?.

    Hi,

    This is the duplicate thread. Please find the thread at the following link.

    http://www.infopathdev.com/forums/p/9931/35207.aspx#35207

    Swathip
    www.ggktech.com
  • 12-16-2008 11:47 PM In reply to

    Re: how to apply custom css to infopath form?.

    hi swathi i have gone thru following steps , i didn't get please help swathi, this is very urgent.

     

    i placed following code in myCustomStyleSheet.css

    <style title="myCustomStyleSheet" type="text/css">
        table { FONT-FAMILY: Courier New; BORDER: solid 1px black; }
    </style>

     

    Add a custom external style sheet as a resource file:

    1. Choose Resource Files from the Tools menu.
    2. In the Resource Files dialog box, click Add.
    3. In the Add File dialog box, navigate to and select the myCustomStyleSheet.css file, and then click OK. Figure 1 shows the file added as a resource.
    4. Click OK to close the Resource Files dialog box.

    Figure 1. The myCustomStyle.css file has been added as a resource file.

    Link to a custom external style sheet from your view .xsl file:

    1. Choose Extract Form Files from the File menu.
    2. Select a location to save your extracted form files to, and then click OK.
    3. Close InfoPath to release the lock it places on your form files.
    4. Using a text editor, open your view .xsl file.
    5. Add the following code just below the last style element:

    <link href="mySstyle.css" rel="stylesheet" type="text/css"/>

    1. Save your view .xsl file, and then close the text editor.
    2. Reopen your form template by right-clicking the manifest.xsf file and choosing Design.

    i have done upto this please tell me how to approach .........

  • 12-24-2008 05:25 AM In reply to

    Re: how to apply custom css to infopath form?.

    HI I am quite new to infopath forms.

    My requirement is to apply a background image to the header of repeating table.We tried accomplishing this by CSS class.

    After applying CSS Class ,when we try to preview the form,the background image appears but as soon as we publish the page,the backgound image can no longer be seen.

    Please help.

    I need this urgently

     

  • 12-28-2008 09:53 PM In reply to

    • Anuma
    • Top 25 Contributor
      Female
    • Joined on 07-20-2005
    • India
    • Posts 525

    Re: how to apply custom css to infopath form?.

Page 1 of 1 (5 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.