OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Linking html file with css file

Are you an Editor, Author, or Journal Manager in need of help? Want to talk to us about workflow issues? This is your forum.

Moderators: jmacgreg, michael, vgabler, John

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

Linking html file with css file

Postby ShirleyZhou » Sat Feb 08, 2014 10:26 pm

Hi bros,

I set the format of my journal with InDesign and export the corresponding html file and css file. Then I upload the two files in the Layout Galley. But what is displayed on the website is plain text and I think the html file is not linked to the css file correctly.

Shall I change the link tag in the html to the system generated css file name? Or the system can link these two files automatically? What can I do to make the paper's webpage display in format?

Best,
Shirley
ShirleyZhou
 
Posts: 3
Joined: Wed Feb 05, 2014 9:59 pm

Re: Linking html file with css file

Postby asmecher » Tue Feb 11, 2014 11:16 am

Hi Shirley,

Are you able to upload your stylesheet specifically as a CSS stylesheet under your HTML galley? Is there a place there to upload HTML images as well? If not, then probably your HTML is not being correctly detected as HTML. Search the forum for "MIME type detection" and you'll find some threads about how to tackle this.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Re: Linking html file with css file

Postby ShirleyZhou » Wed Feb 19, 2014 1:09 pm

Hi Alec,

Yes, there is a place to upload images and there is no problem to display images on the webpage. It is just that the contents in html file are displayed as plain text.

Thank you!

Shirley
ShirleyZhou
 
Posts: 3
Joined: Wed Feb 05, 2014 9:59 pm

Re: Linking html file with css file

Postby asmecher » Wed Feb 19, 2014 1:41 pm

Hi Shirley,

Could you attach a screenshot of the article view?

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Re: Linking html file with css file

Postby ShirleyZhou » Wed Feb 19, 2014 4:09 pm

Hi Alec,

Here is the screenshot of the paper and the galley uploading page.
[img]file:////Users/xuan/Desktop/1.png[/img]
[img]file:////Users/xuan/Desktop/2.png[/img]
ShirleyZhou
 
Posts: 3
Joined: Wed Feb 05, 2014 9:59 pm

Re: Linking html file with css file

Postby asmecher » Wed Feb 19, 2014 4:49 pm

Hi Shirley,

Those are local URLs to your machine so I can't see them.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm


Return to OJS Editorial Support and Discussion

Who is online

Users browsing this forum: No registered users and 2 guests