<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SMW0: CSS reference in HTML templates? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/smw0-css-reference-in-html-templates/m-p/2975432#M702342</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear , &lt;/P&gt;&lt;P&gt;I have an HTML file in my portal showing the news in a effective way . &lt;/P&gt;&lt;P&gt;Now i  want that the HTML file should take the default CSS of portal &lt;/P&gt;&lt;P&gt;Plz suggest me hoe to do that &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Krishan Kumar Yadav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Dec 2007 05:07:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-27T05:07:33Z</dc:date>
    <item>
      <title>SMW0: CSS reference in HTML templates?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smw0-css-reference-in-html-templates/m-p/2975429#M702339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have added some HTML templates in the WEB repository, but these require a CSS file. I don't want to embed the CSS in the HTML code, but just link to the CSS. Is this possible? I take it I'll have to add the CSS file to the repository as well. But how does this work exactly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I write something in the HTML templates like this:&lt;/P&gt;&lt;P&gt;&amp;lt;LINK REL="stylesheet" HREF="style.css"&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would the stylesheet be found automatically?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2007 09:24:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smw0-css-reference-in-html-templates/m-p/2975429#M702339</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-14T09:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: SMW0: CSS reference in HTML templates?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smw0-css-reference-in-html-templates/m-p/2975430#M702340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;which version of R/3 you are using.  if you are on WAS6.20 or above , you can store the css in the mime repository (se80) and reference them in your template&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2007 12:11:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smw0-css-reference-in-html-templates/m-p/2975430#M702340</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2007-11-14T12:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: SMW0: CSS reference in HTML templates?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smw0-css-reference-in-html-templates/m-p/2975431#M702341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer. I found the solution in the mean time, by adding the css to the WEB repository just like the HTML template.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the method cl_gui_html_viewer-&amp;gt;load_html_document I get the url of the file in return. If I then use a placeholder in the template for the url and replace it with the url I get from the method, it works perfectly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2007 13:40:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smw0-css-reference-in-html-templates/m-p/2975431#M702341</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-14T13:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: SMW0: CSS reference in HTML templates?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smw0-css-reference-in-html-templates/m-p/2975432#M702342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear , &lt;/P&gt;&lt;P&gt;I have an HTML file in my portal showing the news in a effective way . &lt;/P&gt;&lt;P&gt;Now i  want that the HTML file should take the default CSS of portal &lt;/P&gt;&lt;P&gt;Plz suggest me hoe to do that &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Krishan Kumar Yadav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 05:07:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smw0-css-reference-in-html-templates/m-p/2975432#M702342</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-27T05:07:33Z</dc:date>
    </item>
  </channel>
</rss>

