Loading ...
Sorry, an error occurred while loading the content.

Re: [OLmws] Getting a double border

Expand Messages
  • Foteos Macrides
    John, I think you want: .olbg {padding:1px; background-color:#000000;} .olfg {padding:2px; background-color:#ffff66;} for a
    Message 1 of 2 , Dec 1, 2011
    • 0 Attachment
      John,
       
      I think you want:
       
      <style type="text/css">
      .olbg {padding:1px; background-color:#000000;}
      .olfg {padding:2px; background-color:#ffff66;}
      </style>
       
      for a popup with the equivalent of:
       
      BORDER,1, BGCOLOR,'#000000", TEXTPADDING,2, FGCOLOR,"#fff66'
       
      as you appear to want in that test case.  The BGCLASS command is for table markup which encases the popup to create it's border, i.e., you don't want to create one via the FGCLASS command, which as you have it is creating a second border line.
       
      Fote
       
      ----- Original Message -----
      From: jp_in_to
      Sent: Thursday, December 01, 2011 10:59 AM
      Subject: [OLmws] Getting a double border

      You would think this would be simple but I am using the CSS classes and I get a double border, in spite of the various things I try. I have set ol_border=0; in the module but that had no effect. Here is my test code:

      <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
      <html>
      <head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <script language="JavaScript" src="overlibmws.js"></script>
      <style>
      .olbg {text-align: left;}
      .olfg {background-color:#FFFF66; border-style:solid; padding:2px; border-width:1px; border-color:#000000}
      </style>
      <title>Untitled Document</title>
      </head>
      <body>
      <a href="javascript:;"
          onmouseover="return overlib('Please list telephone numbers', WIDTH, 150, OFFSETX, 20, OFFSETY, 20, BGCLASS,'olbg', FGCLASS,'olfg');" onMouseOut="return nd();">
          <img src="info.gif" ></a>
      </body>
      </html>

      It is also available at http://www.mcleansystems.com/demo/testbug.htm

      Can you please tell me what I am missing?
    Your message has been successfully submitted and would be delivered to recipients shortly.