vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Need help with a table border (https://vborg.vbsupport.ru/showthread.php?t=37594)

Big Kahuna 04-18-2002 03:53 PM

Need help with a table border
 
<a href="http://www.moparstyle.net/forums/" target="_blank">http://www.moparstyle.net/forums/</a>

I am trying very hard to learn as I go -- but this is one I can't figure out.

An administer from another board using the same server company as I, gave me a hack called g_statistics, which is the table in the above listed forum called Statistics. Promblem is that the table border is not like my other table's boders -- in each of my styles. I can't figure out how to make it the same border as the other tables. This admin and his board are gone so I can't ask him. Any suggestions?

Here is the code used in g_statistics:

<table width="100%" cellpadding="4" cellspacing="{tableinnerborderwidth}">
<tr id="cat">
<td bgcolor="{categorybackcolor}" colspan="3" onMouseOver="this.style.cursor='hand';" onclick="window.location.href='vbstats.php?s=$sess ion[sessionhash]'"><a href="vbstats.php?s=$session[sessionhash]">
<b><normalfont color={categoryfontcolor}>Statistics</normalfont></b></a></td>
</tr>
<td bgcolor={secondaltcolor} width="20%">
<smallfont><b>Top 10 Posters:</b></smallfont>
</td>
<td bgcolor={firstaltcolor} width="20%">
<smallfont><b>Top 10 This Week:</b></smallfont>
</td>
<td bgcolor={secondaltcolor} width="60%">
<smallfont><b>10 Most Recent Replies To Threads:</b></smallfont>
</td>
</tr>
<tr>
<td bgcolor={secondaltcolor} width="20%">
<table width="100%">
<tr>
<td width=100%><smallfont>User Names:</smallfont></td><td align="right"><smallfont>Posts:</smallfont></td>
</tr>
<tr>
<td width=100%><smallfont><b>$posts5name</b></smallfont></td>
<td align="right"><smallfont><b>$posts5post</b></smallfont></td>
</tr>
</table>
</td>
<td bgcolor={firstaltcolor} width="20%">
<table width="100%">
<tr>
<td width=100%><smallfont>User Names:</smallfont></td><td align="right"><smallfont>Posts:</smallfont></td>
</tr>
<tr>
<td width=100%><smallfont><b>$week5name</b></smallfont></td>
<td align="right"><smallfont><b>$week5posts</b></smallfont></td>
</tr>
</table>
</td>
<td bgcolor={secondaltcolor} width="60%">
<table width="100%">

<td width=80%><smallfont>Thread Names:</smallfont></td>
<td width=20%><smallfont>Last Posters:</smallfont></td>
<td align="right"><smallfont>Views:</smallfont></td>
</tr>
<tr>
<td width=80%><smallfont><b>$popthread</b></smallfont></td>
<td width=20%><smallfont color="#ff0000"><b>$poplastposter</b></smallfont></td>
<td align="right"><smallfont><b>$popviews</b></smallfont></td>
</tr>
</table>
<tr>
<td bgcolor="{categorybackcolor}" colspan="3" align="left" valign="center" cellpadding="4" cellspacing="{tableinnerborderwidth}">
</td>
</tr>
<tr>
<td bgcolor="{tableheadbgcolor}" colspan="3" align="center" valign="center" cellpadding="4" cellspacing="{tableinnerborderwidth}">
<smallfont color={tableheadtextcolor}>Registered Members: <b>$numbermembers</b> | Total Threads: <b>$totalthreads</b> | Total Thread Views: <b>$totalviews</b> | Total Posts: <b>$totalposts</b> | Posts Today: <b>$poststoday</b></smallfont>
</td>
</tr>
</td>
</tr>
</table>

WEBDosser 04-18-2002 04:16 PM

Change this
<table width="100%" cellpadding="4" cellspacing="1">

to this
<table width="100%" cellpadding="0" cellspacing="0" border="0">

maybe?..

Big Kahuna 04-18-2002 09:59 PM

Didn't work

The border is there -- but it is white when the other tables is black. When I cahnge the borger to 1 I get a 3d border with shadow and highlight.


All times are GMT. The time now is 04:42 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.04740 seconds
  • Memory Usage 1,723KB
  • 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)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