This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Feb 13, 2012, 4:03 PM
4 Posts

Problem with order of rel- and CSS-tags in head-tag

  • Category: APIs
  • Platform: Windows
  • Release: 8.5.2
  • Role: Developer
  • Tags:
  • Replies: 1
We have a problem. We have a style sheet that  contains all styles for our site. We referebce our style sheet via a resource. The problem is that the dojo css (as seen in the code below) breaks our css. We would like put the reference to our stylesheet below the style- and script-tags (so that it is the last to load). How is this done in an Xpage? All solutions, suggestions and comments are appreciated.
 
 
<title></title>
<link rel="stylesheet" type="text/css" href="http://www.bth.se/web2012/css/all.css" media="screen">
<link rel="stylesheet" type="text/css" href="/xsp/.ibmxspres/.mini/css/@Da&amp;@Ib&amp;2Tfxsp.css&amp;2TfxspLTR.css&amp;2TfxspFF.css.css">
<script type="text/javascript" src="/xsp/.ibmxspres/dojoroot-1.6.1/dojo/dojo.js" djConfig="locale: 'en', parseOnLoad: true"></script>
<script type="text/javascript" src="/xsp/.ibmxspres/.mini/dojo/.en/@Fi&amp;@Iq.js"></script>
Feb 14, 2012, 7:36 AM
129 Posts
Re: Problem with order of rel- and CSS-tags in head-tag
Just put the stylesheet reference in plain html in source mode below </xp:this.resources> if you want it to load after the framework CSS/JS. 

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal