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

Stylesheets on S-Controls no color or icon?

But my the page title comes out with a gray background (should be the same color as an account) and no icon! :robotmad:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
<link href="/dCSS/Theme2/default/common.css" type="text/css" media="handheld,print,projection,screen,tty,tv" rel="stylesheet" >
<link href="/dCSS/Theme2/default/custom.css" type="text/css" media="handheld,print,projection,screen,tty,tv" rel="stylesheet" >
<BODY class=”account”>
<DIV class=bPageTitle>
 <DIV class="ptBody secondaryPalette">
 <DIV class=content><IMG class=pageTitleIcon alt=Entity_Name src="/s.gif">
 <H1 class=pageType>Account<SPAN class=titleSeparatingColon>:</SPAN></H1>
 <H2 class=pageDescription>Sign Up</H2>

 All I did was cut and paste the code from the doc.  Anyone know what I am doing wrong?

That's a very old document (the code samples use the old beta AJAX toolkit, and reference API 6.0)

These are the link tags I use in my s-controls:

<link href="/sCSS/Theme2/default/elements.css" rel="stylesheet" type="text/css" />
<link href="/sCSS/Theme2/default/common.css" rel="stylesheet" type="text/css" />
<link href="/sCSS/Theme2/dStandard.css" rel="stylesheet" type="text/css" />
<link href="/sCSS/Theme2/allCustom.css" rel="stylesheet" type="text/css" />

Thanks I actually just got this to work by cut and pasting all the sample code at the bottom of the doc and hacking out all their stuff and inserting my own html.  If the doc is out of date it should be removed and/or updated.