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.1K All Categories
- 54 General
- 7 Training
- 200 Installation / Setup
- 1.1K Flows
- 105 Rules
- 258 Administration
- 212 Portal
- 487 General Q & A
- 690 Forms
- 331 Reports
- 3 Designer Extensions
- 47 Example Flows
- 51 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 176 Pages
- 5 Process Mining
- New Features
- 176 Datastructures
- 68 Repository
- 214 Integrations
- 28 Multi-Tenant
- 27 SDK
- 73 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 56 Lunch And Learn Questions