on 03-04-2009 11:18 AM
Hi,
Have created a new HTML file in KM.
would like to use my own css for this....
tried uploading the css file in KM and additing it to the HTML like
<link href="/irj/go/km/docs/wpccontent/CoPT_PWS/site/site/styles/cochin-port.css" rel="stylesheet" type="text/css" />
however this is not working..
Do i have to use repository filters for this..?
Please advise
Thanks,
Rocky
No, you've got the right idea.
Here's some same code (header) that's works fine:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link href="/irj/go/km/docs/documents/Public%20Documents/Employee%20Self%20Service/css/default.css" rel="stylesheet" type="text/css" />
<title>Annual Data Review Introduction</title>
</head>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi there,
I've found that if I put a css file and images in the same folder (or as a sub-folder) as the KM documents (mine are in Public Documents > Employee Handbook) then it all works fine from within KM: I can navigate to the web pages and the styles and images show up properly.
But if I make KM Document iViews and put them into Portal pages and those into a role, then to get the links to css files and images working I have to use the long link, e.g. /irj/go/km/docs/z_cmpublicdocuments/Employee Handbook/
Tom
User | Count |
---|---|
76 | |
9 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.