function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
David GorslineDavid Gorsline 

Referencing style sheets

Code:
<link href="https://na1.salesforce.com/dCSS/Theme2/default/common.css" type="text/css" media="handheld,print,projection,screen,tty,tv" rel="stylesheet" />

 
We're using Salesforce.com's style sheets in the setup pages for our composite app, so that the UI look and feel is maintained.  (Our setup pages are served from our own server, within the S/F-provided frame.)  Is there a recommended way to write a URL for a sheet that eliminates the dependency on a particular S/F server and on a particular skin (S/F vs. S/F Classic)?  In other words, what's a better way of writing the <link> tag than the above?
 
 
SuperfellSuperfell
David GorslineDavid Gorsline
Yes, I have read the tech note. A relative URL like /dCSS/Theme2/en/common.css doesn't get the job done for me, because it would be interpreted as relative to the root of my web server, not Salesforce.com's.