UI Page CSS formatting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-01-2012 04:17 PM
I am working with system UI pages and looking for the solution to include reference of stylesheet file in UI page itself so that instead of defining styles with html tags I can use CSS slandered way of using css class.
I have created stylesheet file called myStyle.css in style Content Management -> Design ->Sheet Sheets module. Now I( want to use it on one of the UI page called "myPage" created in module Syatem UI -> UI Pages.
I could not find any way to include reference of styleseet in UI page like doing for JS files. For
example:
<script></script>
Anyone have some suggestions?
Thanks in advance.
Chhavi

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-03-2012 09:29 AM
I just wrote a post at SNGuru that should help you with this.
http://www.servicenowguru.com/content-management/custom-stylesheets-noncms-pages/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-03-2012 10:11 AM
Hi Matt,
Thanks for the solution. It's working fine.
I have one more issue, I am sure you can give me the solution.
When I am going to print the UI page, images are gone. I used the tag for image in UI page is as below:
Please suggest.
Best regards
Chhavi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-05-2012 05:36 PM
Add a class of user_image to the img element.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-28-2013 06:40 AM
Thanks! I'd been trying to work out why my images were not "available" in Print Preview for any of my browsers (Chrome / FireFox etc).
I see now that with the standard CSS, all images are hidden when media=print.