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.3K All Categories
- 74 General
- 12 Training
- 206 Installation / Setup
- 1.1K Flows
- 110 Rules
- 268 Administration
- 212 Portal
- 496 General Q & A
- 709 Forms
- 344 Reports
- 3 Designer Extensions
- 48 Example Flows
- 57 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 184 Pages
- 5 Process Mining
- New Features
- 186 Datastructures
- 70 Repository
- 229 Integrations
- 28 Multi-Tenant
- 27 SDK
- 81 Modules
- 58 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 143 Lunch And Learn Questions