Display image via CSS
Comments
- 
            
How can I display an image using CSS? As I understand, the image should live on the file system of the App Server to be found. But not sure where the file should live to be accessible by url.
 - 
            
Heres what the background-image value should look like -
[b]For an absolute URL path:[/b]
background-image: url(http://localhost/decisions/HUI/Content/Images/lightbulb.png)
Where http://localhost/decisions should be your Base Portal URL.
[b]For a relative URL path:[/b]
background-image: url(../../Content/Images/lightbulb.png)
The path is relative to where the CSS Documents live on the file system.
The typical CSS Doc file path is C:Program FilesDecisionsDecisions Web HostHUIstylesCssDocuments. Images will need to be held on the App Servers file system under this directory, C:Program FilesDecisionsDecisions Web HostHUIContentImages. I recommend creating a Custom Images folder if various images are being added.
 
Howdy, Stranger!
Categories
- 4.5K All Categories
 - 88 General
 - 13 Training
 - 214 Installation / Setup
 - 1.2K Flows
 - 112 Rules
 - 277 Administration
 - 215 Portal
 - 503 General Q & A
 - 722 Forms
 - 356 Reports
 - 3 Designer Extensions
 - 47 Example Flows
 - 58 CSS Examples
 - 1 Diagram Tile
 - 8 Javascript Controls
 - 190 Pages
 - 5 Process Mining
 - New Features
 - 187 Datastructures
 - 73 Repository
 - 238 Integrations
 - 30 Multi-Tenant
 - 27 SDK
 - 81 Modules
 - 60 Settings
 - 27 Active Directory
 - 12 Version 7
 - 37 Version 8
 - 143 Lunch And Learn Questions