Announcement

Collapse
No announcement yet.

Borders showing in table on HTML and Ad module

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Borders showing in table on HTML and Ad module

    Not really sure why, but I have a table in my HTML with border="0" and cellspacing="0", yet a border is showing up when the page is rendered. I have tried both the HTML and the AD module and it does it in both places:

    http://www.theglforum.com/Store

  • #2
    CSS is overriding the HTML attributes. You need to add your own CSS, one way is with inline CSS...

    Code:
    <table border="0" cellspacing="0" style="border: 0; padding: 0; margin: 0;">
    also add the
    Code:
    style="border: 0; padding: 0; margin: 0;"
    part inside each <td> tag-

    Code:
    <td style="border: 0; padding: 0; margin: 0;">
    Would be beneficial to read up on CSS and how it works if you are unfamiliar.

    Comment


    • #3
      Joe, great info. Thanks!

      Last edited by TheGLForum; Thu 9 Oct '14, 5:08am.

      Comment

      Related Topics

      Collapse

      Working...
      X