OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



registration.php not applying css header styles properly

Are you responsible for making OCS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, michael, 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.

registration.php not applying css header styles properly

Postby ChrisB » Fri Dec 30, 2005 12:12 pm

This is odd.

I have a (partial) implementation of OCS, and I've customised headers etc. For some reason the registration form part of registration.php is ignoring the following css stylesheet instruction:

Code: Select all
<style type="text/css">
 <STYLE>
 <!--
 A { text-decoration: none }
 -->
 </STYLE>


Also it will not apply this style in the header, despite it being included in the relevant theme.inc.php

Code: Select all
font class="WhiteText"


As a result, I'm getting header links with underlined text, but only on this page. The rest is fine.

I'm guessing it's something to do with this page being printed by a php script instead of html markup.

Is there a bit of code I could add to the php to correct this error?
ChrisB
 
Posts: 16
Joined: Thu Dec 22, 2005 12:25 pm

Postby asmecher » Fri Dec 30, 2005 12:43 pm

Hi Chris,

I don't think this is caused by PHP -- It's probably a typo in your CSS and/or HTML. For example, the following:
Code: Select all
<style type="text/css">
 <STYLE>
 <!--
 A { text-decoration: none }
 -->
 </STYLE>
should probably read
Code: Select all
<style type="text/css">
 <!--
 A { text-decoration: none }
 -->
 </style>


Try using the various validation tools available online:
Regards,
Alec Smecher
Open Journal Systems Team
asmecher
 
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Postby ChrisB » Fri Dec 30, 2005 3:44 pm

:oops:

Ahem, yes it was a typo, or rather several. Sorry.
Everything is fine now.
ChrisB
 
Posts: 16
Joined: Thu Dec 22, 2005 12:25 pm


Return to OCS Technical Support

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 2 guests