Formatting an HTML section: how eliminate white borders

Forums Classic DFFS Formatting an HTML section: how eliminate white borders

Viewing 3 reply threads
  • Author
    Posts
    • #16061
      Keith Hudson
      Participant

      I have a form with an HTML section inserted between fields to show special text. My form uses a background color, and the html section has a white border around it. (see the screenshot: HTML section shows white border )

      I’ve tried to figure out a css rule to get rid of the white border without success. Is there an easy way to make the white border disappear?

    • #16065
      Alexander Bautz
      Keymaster

      Hi,
      I have tested with a HTML section in a form with background color, but cannot reproduce the behavior. If you are using a table in the HTML you might have to set the style “border-collapse:collapse”.

      If you could post the HTML I might be able to reproduce it and fix it.

      Alexander

    • #16112
      Keith Hudson
      Participant

      Yes, I was using a table within the HTML and adding the style “border-collapse:collapse” solved the problem. Thanks, Alex!

    • #16117
      Alexander Bautz
      Keymaster

      I’m glad it worked out.

      Alexander

Viewing 3 reply threads
  • You must be logged in to reply to this topic.