Focal Point
How to include the Image url in CSS within HTML page

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/8827062476

January 12, 2015, 08:26 AM
info4pal
How to include the Image url in CSS within HTML page
Hi,

I have a image stored in others folder[/content/folder_a/image8] and I need to include this image link in the CSS file and later need to include/call this css within the HTML page.

Any ideas/hints on how to do this would be greatly appreciated.

Thanks!


Webfocus 8105 Developer studio,Windows 7,HTML,Excel,PDF,Text,Infoassist,Graph,AHTML
January 13, 2015, 03:48 AM
Wep5622
http://www.w3.org/TR/CSS/


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
January 13, 2015, 08:17 AM
info4pal
Hi Wep5622,

Thanks for the link and it was very useful.
But actually my image link looks something as shown below :

/WFC/Repository/Folder_a/Report/image1.jpeg

I tried using the below one but it isn't working:
body {
background-image: url('image1.jpeg');
}

Thanks a lot in advance!

Regards!


Webfocus 8105 Developer studio,Windows 7,HTML,Excel,PDF,Text,Infoassist,Graph,AHTML
January 13, 2015, 08:58 AM
Shakila Subhan

background:url(../WFC/Repository/Folder_a/Report/image1.jpeg) no-repeat;




WebFOCUS 8.0.08 - BI Portal, Developer Studio, App Studio, Excel, PDF, Active Formats and HTML5
Windows, All Outputs
January 13, 2015, 10:51 AM
Francis Mariani
I could be wrong, but I'm pretty sure that CSS knows nothing about the WebFOCUS File System and the Content (Repository) area, specially since the files are located in database tables. CSS should point to files in the Web Applications area (approot).


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
January 14, 2015, 08:09 AM
info4pal
Hi,

Shakila - I tried whatever you had provided but it din't work either.
Francis - Yes you are correct and would you mind letting me know the approot location which would help me a lot.

Thanks a lot both of you again!

Regards!


Webfocus 8105 Developer studio,Windows 7,HTML,Excel,PDF,Text,Infoassist,Graph,AHTML