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.4K All Categories
- 86 General
- 13 Training
- 212 Installation / Setup
- 1.2K Flows
- 112 Rules
- 282 Administration
- 216 Portal
- 501 General Q & A
- 719 Forms
- 353 Reports
- 3 Designer Extensions
- 48 Example Flows
- 58 CSS Examples
- 1 Diagram Tile
- 8 Javascript Controls
- 189 Pages
- 5 Process Mining
- New Features
- 187 Datastructures
- 71 Repository
- 233 Integrations
- 30 Multi-Tenant
- 27 SDK
- 81 Modules
- 60 Settings
- 27 Active Directory
- 12 Version 7
- 36 Version 8
- 143 Lunch And Learn Questions