• 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
    • Optimise table

    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 10 of 10

    Thread: Optimise table

    • Thread Tools
      • Show Printable Version
    1. January 4, 2016 #1
      hollosch
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      hollosch is offline
      Senior Member
      Join Date
      September 19, 2008
      Location
      Geislingen, Germany
      Posts
      241
      Rep Power
      238

      Arrow Optimise table

      Hi,
      i have a test-page with the table-tag:
      http://regio-portal.wiki/wiki/Testseite#Testbereich


      Three questions:

      1. How to set the border = 0, that there is no border around the table?
      2. How can i set the table-options that the content begins at the top of the cell?
      3. Is it possible to have the border-line between the cells?


      SCREEN#421-20160104.jpg

      Vaultwiki in use: http://regio-portal.wiki

      Reply With Quote Reply With Quote

    2. January 4, 2016 #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
      688
      You can use CSS styles on the table to set the border.
      You can also use CSS styles on each cell to set internal borders.

      If you're not sure how to add the styles, there's an example here: https://www.vaultwiki.org/pages/spec...codelist#table
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    3. January 11, 2016 #3
      hollosch
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      hollosch is offline
      Senior Member
      Join Date
      September 19, 2008
      Location
      Geislingen, Germany
      Posts
      241
      Rep Power
      238
      I have the html-code for a cell:
      HTML Code:
      <td valign="top">
      Code from wiki-codes:
      HTML Code:
      [table] border="1"
      |-
      | class="tcat" colspan="2" | Example Header
      |-
      | style="font-style: italic" | Example Data 1
      | Example Data 2
      |-
      [/table]
      Where to set the cell-styles?

      Vaultwiki in use: http://regio-portal.wiki

      Reply With Quote Reply With Quote

    4. January 11, 2016 #4
      hollosch
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      hollosch is offline
      Senior Member
      Join Date
      September 19, 2008
      Location
      Geislingen, Germany
      Posts
      241
      Rep Power
      238
      Sorry, but it is not easy for non-programmers :-(

      Vaultwiki in use: http://regio-portal.wiki

      Reply With Quote Reply With Quote

    5. January 11, 2016 #5
      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
      688
      In the example, the style="font-style: italic" is a cell style.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    6. January 11, 2016 #6
      hollosch
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      hollosch is offline
      Senior Member
      Join Date
      September 19, 2008
      Location
      Geislingen, Germany
      Posts
      241
      Rep Power
      238
      And set the text to the top of the cell would be:

      HTML Code:
      style="text-style: top"
      ?

      Vaultwiki in use: http://regio-portal.wiki

      Reply With Quote Reply With Quote

    7. January 11, 2016 #7
      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
      688
      vertical-align: top
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    8. January 11, 2016 #8
      hollosch
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      hollosch is offline
      Senior Member
      Join Date
      September 19, 2008
      Location
      Geislingen, Germany
      Posts
      241
      Rep Power
      238
      HTML Code:
      [table] border="0"
      isn't working...

      Vaultwiki in use: http://regio-portal.wiki

      Reply With Quote Reply With Quote

    9. January 11, 2016 #9
      hollosch
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      hollosch is offline
      Senior Member
      Join Date
      September 19, 2008
      Location
      Geislingen, Germany
      Posts
      241
      Rep Power
      238
      Short question:

      Would it work with an extended editor like here: https://xenforo.com/community/resour...-bbcodes.1881/ ?

      Because my members are even less well versed in html and css than me...

      Vaultwiki in use: http://regio-portal.wiki

      Reply With Quote Reply With Quote

    10. January 11, 2016 #10
      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
      688
      "border" is not a valid HTML 5 attribute. It only works in vBulletin, only non-wiki pages, because vBulletin uses XHTML 1.0 Transitional, not HTML 5. XenForo uses HTML 5.

      You need style="border: none"
      Depending on your forum CSS, what kind of context the table is in, etc, you might need to apply this to every cell. It all depends on your forum styles.

      It might be easier to invent a CSS class, add it to the TABLE whitelist, and use that class for the table.

      Sure, you are welcome to use a different TABLE BB-Code if you think it might be easier.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    Similar Threads

    1. Table Problems
      By popit in forum VaultWiki Questions
      Replies: 1
      Last Post: June 10, 2012, 11:26 PM
    2. TABLE bbcode
      By Kaelon in forum VaultWiki Questions
      Replies: 19
      Last Post: May 4, 2012, 7:10 PM
    3. Table of Contents 100%
      By Mondi in forum VaultWiki Questions
      Replies: 6
      Last Post: April 25, 2010, 5:54 PM
    4. VaultWiki[table] tag and BBCode [table]
      By SAS in forum Pre-Sales Questions
      Replies: 2
      Last Post: August 3, 2009, 2:35 PM
    5. Table Issues.
      By krela in forum VaultWiki Questions
      Replies: 2
      Last Post: October 8, 2008, 10:19 AM

    Tags for this Thread

    table

    View Tag Cloud

    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 6:47 PM.
    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.