i Added a custom external style sheet as a resource file.how to apply to infopath2007forms?. - InfoPath Dev
in

InfoPath Dev

i Added a custom external style sheet as a resource file.how to apply to infopath2007forms?.

Last post 12-04-2008 04:54 AM by swapna_l9. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 12-04-2008 03:42 AM

    i Added a custom external style sheet as a resource file.how to apply to infopath2007forms?.

    Add a custom external style sheet as a resource file

    following steps:-

    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.

    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 following steps. please where custom styles  be visible. 

  • 12-04-2008 04:25 AM In reply to

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

    Re: i Added a custom external style sheet as a resource file.how to apply to infopath2007forms?.

    Hi,

    You can see the custome styles in design mode or preview mode.

    Please verify below link.

    http://www.infopathdev.com/blogs/greg/archive/2005/06/07/Add-a-Custom-Style-Sheet-to-a-View.aspx

    Anuma Chinthapalli /
    http://www.GGKTech.com
  • 12-04-2008 04:54 AM In reply to

    Re: i Added a custom external style sheet as a resource file.how to apply to infopath2007forms?.

    hi anuma,

     

      i have gone thru same article, but i am not getting external style sheet.

     

     

    please explain me step by step.

     

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