<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Applying external style sheet to Infopath form 2007</title><link>https://www.infopathdev.com:443/forums/thread/54554.aspx</link><pubDate>Wed, 05 May 2010 19:17:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54554</guid><dc:creator>Mohamed Derhalli</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54554.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=54554</wfw:commentRss><description>&lt;p&gt;Try this on blank new form .. &lt;/p&gt;
&lt;p&gt;1- drag radio buttons&amp;nbsp;to the form, make them 2. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;2- save source files, close the form&amp;nbsp;&lt;/p&gt;
&lt;p&gt;3- create css in source files folder, put this in it : &lt;/p&gt;
&lt;p&gt;.xdBehavior_Boolean&lt;br /&gt;{ background-color : black ; &lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;save your css as test.css &lt;/p&gt;
&lt;p&gt;4-open view1.xsl, exactly after &amp;lt;head&amp;gt; tag put this : &lt;/p&gt;
&lt;p&gt;&amp;lt;link rel=&amp;quot;stylesheet&amp;quot; type=&amp;quot;text/css&amp;quot; href=&amp;quot;test.css&amp;quot;/&amp;gt; &lt;/p&gt;
&lt;p&gt;save and close&lt;/p&gt;
&lt;p&gt;5-right click your manifest.xsf, click design, click upload text.css as resource file, save and close form , re-open manifest.xsf in design and see the results. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Applying external style sheet to Infopath form 2007</title><link>https://www.infopathdev.com:443/forums/thread/54513.aspx</link><pubDate>Wed, 05 May 2010 00:04:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54513</guid><dc:creator>Aditya</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54513.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=54513</wfw:commentRss><description>&lt;p&gt;Hi,Thanks for replying.I tried what ever u said.Nothing is showing in the form.Am i doing something wrong?&lt;/p&gt;
&lt;p&gt;Here is the how i included in css link in view1.xsl&lt;/p&gt;
&lt;p&gt;&amp;lt;head&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;meta content=&amp;quot;text/html&amp;quot; http-equiv=&amp;quot;Content-Type&amp;quot;&amp;gt;&amp;lt;/meta&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;strong&gt;&amp;nbsp;&amp;lt;link href=&amp;quot;customCSS.CSS&amp;quot; type=&amp;quot;text/css&amp;quot; &amp;gt;&amp;lt;/link&amp;gt;&lt;br /&gt;&lt;/strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;style controlStyle=&amp;quot;controlStyle&amp;quot;&amp;gt;@media screen &amp;nbsp;&amp;nbsp;&amp;nbsp;{ &amp;nbsp;&amp;nbsp;&amp;nbsp;BODY{margin-left:21px;background-position:21px 0px;} &amp;nbsp;&amp;nbsp;&amp;nbsp;} &amp;nbsp;&amp;nbsp;BODY{color:windowtext;background-color:window;layout-grid:none;} &amp;nbsp;&amp;nbsp;.xdListItem {display:inline-block;width:100%;vertical-align:text-top;}&amp;nbsp;&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;Here is the code in CSS file&lt;/p&gt;
&lt;p&gt;.xdBehavior_Boolean&lt;br /&gt;{&lt;br /&gt;background-color: red; &lt;br /&gt;}&lt;br /&gt;First i created the customcss.css file and then uploaded it using resource files.Then,opened view1.xsl and added link to the new css file.Saved it.Opened the mainfest file to see the changes.Nothing happened.&lt;/p&gt;
&lt;p&gt;Please guide me if i am wrong.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Aditya.&lt;/p&gt;</description></item><item><title>Re: Applying external style sheet to Infopath form 2007</title><link>https://www.infopathdev.com:443/forums/thread/54444.aspx</link><pubDate>Mon, 03 May 2010 09:46:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54444</guid><dc:creator>Mohamed Derhalli</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54444.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=54444</wfw:commentRss><description>&lt;p&gt;You can do this using External Style Sheet. 1- Save your InfoPath form as source files to a destination folder, then in that folder make a new file, name it anything, for this case call it radiobuttons.css, open the CSS file and paste this: &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;em&gt; &lt;/em&gt;&lt;/p&gt;
&lt;p&gt;.xdBehavior_Boolean{&lt;br /&gt;background-color: red; &lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&amp;nbsp;This is the name of the class that radio buttons use in InfoPath and we applied the red color to it. &lt;/p&gt;
&lt;p&gt;2- Now open the file with extension .xsl that has&amp;nbsp;your&amp;nbsp;view name,&amp;nbsp;and put a link for your style sheet after the head tag &amp;lt;head&amp;gt; &lt;/p&gt;
&lt;p&gt;3- Open your InfoPath form, Select &lt;em&gt;Tools &lt;/em&gt;Then Select &lt;em&gt;Resource Files &lt;/em&gt;and upload the CSS file. &lt;/p&gt;
&lt;p&gt;save the form, re-open it and see tell me the results&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Applying external style sheet to Infopath form 2007</title><link>https://www.infopathdev.com:443/forums/thread/54430.aspx</link><pubDate>Mon, 03 May 2010 03:21:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54430</guid><dc:creator>Aditya</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54430.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=54430</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;can i apply CSS to a specific control like radiobutton in Infopath form Using External style sheet.If so ,please guide me how can i accomplish that.&lt;/p&gt;&lt;p&gt;Thanks. &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>