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
OnDem DevOnDem Dev 

How to remove the Outline in SControl embedded on Detail Page of Custom Object?

Hi,
 
Can any one tell me how to remove the outline(border) shown in the SControl.
I added my SControl to detail page of Custom Object. Now whenever i try to view the Custom object, apart from Custom Object border in the detail page, it is displaying my SControl with a outline.
 
I want to remove the outline of my SControl displayed there.
My SControl is:
<html>
<head>
........
</head>
<body color='customTab75'>
<table>
....................
</table>
</body>
</html>
 
Can any one tell how to do that?
 
Thanks,
OnDem
N-forceN-force
Go to your page layout - edit it and point your s-control you have placed in the page layout and click on edit properties, you will able to see the options.
werewolfwerewolf
Scontrols don't necessarily really have a border.  Is it just that the background color of your Scontrol is different than that of the page?
jrotensteinjrotenstein
Looks to me that it is your <table> that is showing a border. Edit its border properties like normal HTML.
OnDem DevOnDem Dev
Hi,
 
Actually the border colour of the embedded SControl is displayed in black automatically.
I am setting the same Custom Object colour manually in the Scontrol.
 
Is there any way to remove the SControl outline from the Custom Object detail page.
 
Thanks in advance.
 
Thanks,
OnDemand