0
Welcome Guest! Login
0 items Join Now

SOLVED Border = 0 ?

    • rb's Avatar
    • rb
    • Rocketeer
    • Posts: 79
    • Thanks: 3

    SOLVED Border = 0 ?

    Posted 3 years 3 months ago
    • I added this to the custom scss

      table td, table, table th, table tr, table tbody {
      border: none;
      }

      But now ALL borders are set to zero even when setting several tables with border=1.

      When not adding this change I cannot remove one annoying border in a table.

      How can I do this ?
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13481
    • Web Designer/Developer

    Re: SOLVED Border = 0 ?

    Posted 3 years 3 months ago
    • Your subscription appears to have expired. Support does require a current subscription.

      You should add a class to your specific table that you wish to change and alter your CSS selectors to only target that class.

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
    • rb's Avatar
    • rb
    • Rocketeer
    • Posts: 79
    • Thanks: 3

    Re: SOLVED Border = 0 ?

    Posted 3 years 3 months ago
    • Oh! Time flies so fast by.

      Anyway, this is now my working solution:

      1. custom.scss
      #content .noborder, #content .noborder tr, #content .noborder th, #content .noborder td
      {
      border: 0px;
      }

      2. html
      <div id="content">
      <table class="noborder">
      <tr><th>this<th></tr>
      </table>
      </div>
    • Last Edit: 3 years 3 months ago by MrT.
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13481
    • Web Designer/Developer

    Re: SOLVED Border = 0 ?

    Posted 3 years 3 months ago
    • I would have used a class rather than ID - especially one with such a generic name of "content".

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.

Time to create page: 0.050 seconds