You need to sign in to do that
Don't have an account?
HeatherT
Using CSS in S-Control for Contact Delete
I am working on an s-control that will intercept a contact before it is deleted and get the reason for delete. I am using the following code to format the page using the Salesforce css:
<BODY class="contact">
<DIV class=bPageTitle> <DIV class="ptBody secondaryPalette"> <DIV class=content><IMG class=pageTitleIcon alt=contact rc="/s.gif"> <H1 class=pageType>Contact<SPAN class=titleSeparatingColon>:</SPAN></H1> <H2 class=pageDescription>Delete Options</H2> </DIV></DIV></DIV>
When the page renders I see the following for the contact icon:
Is something not referenced properly? I am using the following style sheets:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <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" >
You need to use the full text "contactTab" instead of just "contact".
Let me know if this still doesn't work,
Thanks for all of your help but it still did not work. I am including the scontrol code below.
I am now seeing the correct colors and fonts, but I still get the "x" over the contact icon.
<!-- common styles --><link href="/sCSS/11.0/Theme2/common.css" type="text/css" media="handheld,print,projection,screen,tty,tv" rel="stylesheet">
<!-- standard styles --><link href="/sCSS/11.0/Theme2/dStandard.css" type="text/css" media="handheld,print,projection,screen,tty,tv" rel="stylesheet">
<body class="contactTab detailPage">
<DIV class="bPageTitle">
<DIV class="ptBody secondaryPalette">
<DIV class="content">
<IMG class="pageTitleIcon" alt="contact "rc="/s.gif">
<H1 class="pageType">Contact<SPAN class="titleSeparatingColon">:</SPAN></H1>
<H2 class="pageDescription">Delete Options</H2>
</DIV>
</DIV>
</DIV>
</BODY>
Message Edited by Greg H on 01-07-2008 09:14 AM