vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Overriding Cellpadding (https://vborg.vbsupport.ru/showthread.php?t=88101)

sabret00the 01-13-2004 09:54 PM

Overriding Cellpadding
 
1 Attachment(s)
Is there a way to over-ride the tables cellpadding setting on a single row/cell?

Code:

<table style="background: #3B5078;" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" >
      </if>
      <tbody>
      <tr height="2">
 <td height="2" bgcolor="#4F6BA0" style="height: 2px;" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>"></td>
      </tr>

that row that i've set to display at 2pixels refuses to render 2px high on FB due to the tables cellpadding

i managed to get height working cross browser on other cells?

attachment 1 is the height tag working

and attachment 2 is the headache due to the cellpadding being set elsewhere.

sabret00the 01-14-2004 05:56 PM

ok this how now become a really huge problem that i am desperate to get out of the way, someone please help me.

sabret00the 01-15-2004 07:50 AM

the power of css
style="padding: 0px;" w00t


All times are GMT. The time now is 03:01 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01016 seconds
  • Memory Usage 1,709KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete