• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
      • Try XenForo Demo
      • New Posts
      • FAQ
      • Calendar
      • Community
        • Groups
        • Albums
        • Member List
      • Forum Actions
        • Mark Forums Read
      • Quick Links
        • Today's Posts
        • Who's Online
      • Sponsor
        • Sponsor a Feature
        • List of Donors
    • Wiki
    • Support
    • What's New?
    • Buy Now
    • Manual
    • 
    • Forum
    • VaultWiki How-Tos
    • VaultWiki Questions
    • Giving a table a class?

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Results 1 to 6 of 6

    Thread: Giving a table a class?

    • Thread Tools
      • Show Printable Version
    1. September 26, 2014 #1
      delicateglow
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      delicateglow is offline
      Junior Member
      Join Date
      September 17, 2011
      Posts
      34
      Rep Power
      180

      Giving a table a class?

      I'm wondering how I would be able to give a (wiki) table a class.
      I've tried as an example:
      Code:
      [table] style="text-align:center;" class="table2"|
      ....
      [/table]
      and included
      Code:
      .table2 {
      background-color:red;
      }
      in vw-additional.css and as well as additional.css
      Neither seem to work.
      Reply With Quote Reply With Quote

    2. September 26, 2014 #2
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is offline
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,959
      Blog Entries
      18
      Rep Power
      687
      Class names have to be white-listed. Right now the only way to do that is with plugins. See: https://www.vaultwiki.org/threads/5682/
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    3. April 16, 2015 #3
      Forbidden
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      Forbidden is offline
      New Member
      Join Date
      April 9, 2015
      Posts
      4
      Rep Power
      0
      Is something changed for VW4? I would like to set global class for [table] bbcode, what is better way?
      Reply With Quote Reply With Quote

    4. April 16, 2015 #4
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is offline
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,959
      Blog Entries
      18
      Rep Power
      687
      To force the style on every table, you can just add rules like:
      Code:
      .vw-block-content table {}
      .vw-block-content td {}
      .vw-block-content th {}
      .vw-block-content caption {}
      To make the class optional, then you have to create a plugin as mentioned above.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    5. April 18, 2015 #5
      Forbidden
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      Forbidden is offline
      New Member
      Join Date
      April 9, 2015
      Posts
      4
      Rep Power
      0
      How to totally disable table/tr/td/th bbcodes? I have installed CTA Table BB Code xenforo extension, but it conflicts with VW bbcodes. I've tried to disable this tags in Syntax Manager, but now only TABLE bbcode is work, e.g.: http://a-parser.com/wiki_index/Парсеры
      Reply With Quote Reply With Quote

    6. April 21, 2015 #6
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is offline
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,959
      Blog Entries
      18
      Rep Power
      687
      VaultWiki does not include TR/TD/TH BB-Codes. In VaultWiki, TABLE is the only one. The Syntax Manager will only disable/enable the VaultWiki one.

      If you have another mod with a TABLE BB-Code, disabling the VaultWiki one will allow the mod's TABLE to work. If you want to remove TR/TD/TH, you need to disable/remove the mod that made those.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    Similar Threads

    1. Optimise table
      By hollosch in forum VaultWiki Questions
      Replies: 9
      Last Post: January 11, 2016, 3:43 PM
    2. Where to Configure CSS Class Whitelist?
      By Gossamer in forum VaultWiki Questions
      Replies: 5
      Last Post: December 13, 2015, 4:35 PM
    3. Table Problems
      By popit in forum VaultWiki Questions
      Replies: 1
      Last Post: June 10, 2012, 11:26 PM
    4. Table of Contents 100%
      By Mondi in forum VaultWiki Questions
      Replies: 6
      Last Post: April 25, 2010, 5:54 PM
    5. VaultWiki[table] tag and BBCode [table]
      By SAS in forum Pre-Sales Questions
      Replies: 2
      Last Post: August 3, 2009, 2:35 PM

    Bookmarks

    Bookmarks
    • Submit to Digg Digg
    • Submit to del.icio.us del.icio.us
    • Submit to StumbleUpon StumbleUpon
    • Submit to Google Google

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •  
    • BB code is On
    • Smilies are On
    • [IMG] code is Off
    • [VIDEO] code is
    • HTML code is Off

    Forum Rules

    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 9:49 AM.
    This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2025 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
    Copyright © 2008 - 2024 VaultWiki Team, Cracked Egg Studios, LLC.