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=60176)

sabret00the 01-13-2004 09:06 PM

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

Zachery 01-13-2004 09:09 PM

Quote:

Originally Posted by sabret00the
Is there a way to over-ride the tables cellpadding setting on a single row/cell?

manully set it?

sabret00the 01-13-2004 09:11 PM

HTML 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

can i just add cellpadding=0 on that cell?

Zachery 01-13-2004 09:23 PM

Quote:

Originally Posted by sabret00the
HTML 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

can i just add cellpadding=0 on that cell?

yes sure. also note if you have the old EXTRA CSS that was nessary anything valing imgaes and some padding and junk there you can remove the nessary CSS at the bottom with out effecting the board

sabret00the 01-13-2004 09:33 PM

my cellpadding idea didn't work :(

Quote:

Originally Posted by faranth
also note if you have the old EXTRA CSS that was nessary anything valing imgaes and some padding and junk there you can remove the nessary CSS at the bottom with out effecting the board

i don't get you :(

Zachery 01-13-2004 09:35 PM

Quote:

Originally Posted by sabret00the
my cellpadding idea didn't work :(

i don't get you :(

ok first off height is ignored in almost every browser known to man even with CSS

if you really want it to be JUST 2px use a small cear image :)

sabret00the 01-13-2004 09:42 PM

1 Attachment(s)
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.

Zachery 01-13-2004 09:43 PM

Quote:

Originally Posted by sabret00the
i managed to get height working cross browser on other cells?

your lucky. but as this is a template thing we shouldnt probally be talking about it here..

sabret00the 01-13-2004 09:46 PM

where should we talk about it :(

Zachery 01-13-2004 09:47 PM

Quote:

Originally Posted by sabret00the
where should we talk about it :(

vBT maybe?


All times are GMT. The time now is 02:20 PM.

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.01105 seconds
  • Memory Usage 1,738KB
  • 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
  • (2)bbcode_html_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete