• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
    • Wiki
    • Support
      • Manage Subscriptions
      • FAQ
      • Support For
        • VaultWiki 4.x Series
        • VaultWiki.org Site
    • What's New?
    • Buy Now
    • Manual
    • 
    • Support
    • VaultWiki 3.x Series
    • Bug
    • Border 'Forced' in Tables

    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.

    Issue: Border 'Forced' in Tables

    • Issue Tools
      • View Changes
    1. issueid=1293 March 20, 2010 9:57 AM
      Mokonzi Mokonzi is offline
      Senior Member
      Border 'Forced' in Tables
      A Border is forceable added to Tables and Cells

      I've found while playing with some new table styles, that for an unknown reason I'm getting forced borders through the CSS commands.

      I've created and activated several classes, (they show up and style correctly in all other ways), but for some reason every table I've got in my templates creates a black 1px border, even though all the CSS styles dictate no border. Add to that that even when I place 'border="0px"' into the table itself, it still leaves a border. I've checked the templates, and I can't see any other command that supercedes this. Is this to do with the way the BBCode parses the CSS, or have I missed some CSS styling?

      I'm not 100% this is a bug, but I can't see why I'm getting this problem from the CSS I'm using.

      Example link (The Infobox Statistical Comparison): http://www.thexuniverse.com/showwiki/Barracuda

      CSS for that table:

      Code:
      .infoheadsmall {
      	background: #191919 url(http://www.thexuniverse.com/forum/images/txu/cellpic1b.gif);
      	color: #8e8e8e;
      	font-weight: bold;
      	font-size: 10px;
      	font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
      	letter-spacing: 1px;
      	text-indent: 4px;
      	-moz-border-radius-top{vb:stylevar right}: {vb:stylevar border_radius};
      	-moz-border-radius-top{vb:stylevar left}: {vb:stylevar border_radius};
      	-webkit-border-top-{vb:stylevar right}-radius: {vb:stylevar border_radius};
      	-webkit-border-top-{vb:stylevar left}-radius: {vb:stylevar border_radius};
      	border: 0px none;
      	text-align: center;
      }
      
      .infoboxleft {
      	padding: 5px 5px 5px 0px;
      	border: 0px none;
      }
      
      .infoboxmain {
      	padding: 5px;
      	margin: 0px;
      	border: 0px none;
      }
      
      .alt3, .alt3Active { 
       	font: 10px Verdana,Arial,Helvetica,sans-serif;
       	background: #181818;
      	color: #e7e7e7;
      	border:0px solid;
      	padding:6px 4px;
      	font-size: 10px;
      }
      
      .alt3top {
      	background: #181818 url(http://www.thexuniverse.com/forum/images/txu/bg_menu.jpg) repeat-x;
      	color: #e7e7e7;
      	border-top:1px solid;
      	border-bottom: 0px solid;
      	border-right: 0px solid;
      	border-left: 0px solid;
      	border-color: #101010;
      	padding:6px 4px;
      	font-size: 10px;
      }
    Issue Details
    Issue Number 1293
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Styling / CSS
    Status Forum Bug
    Priority 4 - Warnings / Script Errors
    Affected Version 3.0.0 Beta 6
    Fixed Version 3.0.0 RC 1
    Milestone VaultWiki 3.0.0
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. March 20, 2010 12:41 PM
      pegasus pegasus is offline
      VaultWiki Team
      The border is being inherited from vBulletin 4's CSS. Because this is standard behavior in vBulletin 4 (which has a TABLE BB-Code in the CMS), it will not be changed in VaultWiki - that way it's a consistent behavior. Keep in mind that solving this would requiring overriding vBulletin's rules.

      If my memory serves correctly, the border is applied to:
      Code:
      .restore th, .restore td
      You can remove this border simply by applying a differently border rule to your table cells. You can also complain at vBulletin.com and suggest that instead of forcing a border like that, that they make a special class for CMS tables, like:
      Code:
      <table class="vbcms-table">
      Reply Reply  
    2. March 20, 2010 3:04 PM
      Mokonzi Mokonzi is offline
      Senior Member
      Thanks for the response pegasus. I'll see what can be done about it. If I find a solution I'll post it.
      Reply Reply  
    3. March 20, 2010 3:16 PM
      Mokonzi Mokonzi is offline
      Senior Member
      Seems there are StyleVars for the 'restore' section, setting the border to 0px there, and then when you want a border, specifiying it in the table creates the border. I've not investigated how this plays with the CMS table command atm...
      Reply Reply  
    + Reply

    Assigned Users
    Loading Please Wait
    Tags
    Loading Please Wait
    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 5:50 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 © 2023 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2023 DragonByte Technologies Ltd.
    Copyright © 2008 - 2013 VaultWiki Team, Cracked Egg Studios, LLC.