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

Black border with class='bPageBlock

I Create a Scontrol in the account detail  view  . I getting a black border around my subsection

My HTML is the following :

     output += " <div class='bPageBlock tertiarypalette' >"
     output += " <div class='pbBody'>"
     output += " <div class='pbSubsection' >"

     output += " <table class='detailList' cellspacing='0' cellpadding='0' border='0' >"
     output += " <tr><td class='labelCol'>ABN Status</td> "
     output += " <td Class='dataCol col02'><span id='TextBoxABNStatus'> </span></td> "
     output += " <td class='labelCol'>ACN</td> " ...    </td>"
     output += " </tr>"
     output += "<tr><td Class='labelCol last' ><br><br></td> "
     output += " <td Class='dataCol last' ></td> "
     output += " <td Class='labelCol last' ></td> "
     output += " <td Class='dataCol last' ></td>"
     output += " </tr ></table>"
     output += "  </div></div></div>"

Does your Scontrol include any CSS that defines the color of bPageBlock?  It doesn't automatically inherit from the parent page.
Yes in include the following CSS.

<link href="/sCSS/Theme2/en/common.css"
media="handheld,print,projection,screen,tty,tv" rel="stylesheet"
type="text/css" />
<link href="/sCSS/12/Theme2/allCustom.css"
media="handheld,print,projection,screen,tty,tv" rel="stylesheet"
type="text/css" />

The style is correct the colour and under line are fine but there is a border line around my subsection looks like the border line  around the account detailpane.

bPageBlock contain the background color and the border is there any diV style without border ?

<script type="text/javascript">document.forms['echoScontrolForm_01NS00000004LnV'].submit()</script>