vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Need help with a table (https://vborg.vbsupport.ru/showthread.php?t=117361)

vBulletin THEN DAYLIGHT 06-01-2006 08:09 PM

Need help with a table
 
1 Attachment(s)
Look at the attachment and you will see what I am trying to achieve....

How can I squash the banner I have in the table right up into the corners so there are not the gaps around the edge. I already have cellpadding and cellspacing all set to 0.

This is the code for the table so far:

HTML Code:

<table class="thead" border="0" width="100%" align="center">
<tr>
<td valign="top" class="thead" width="709"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td class="thead"><table align="right" border=0"><tr><td valign="middle">
<p>-- <a href="/" title="Home">Home</a><br />-- <a href="/forum" title="Forum">Forum</a><br />-- <a href="/photos" title="Gallery">Gallery</a><br />-- <a href="/articles" title="Articles">Articles</a><br />-- <a href="/forum/sendmessage.php" title="Contact Us">
Contact Us</a></p></td></tr></table></td>
</tr>
</table>


ericgtr 06-01-2006 08:56 PM

It looks like you only have the border set to 0, not the cellspacing and cellpadding . Try this..

Code:

<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="thead">
<tr>
<td valign="top" class="thead" width="709"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td class="thead"><table align="right" border=0"><tr><td valign="middle">
<p>-- <a href="/" title="Home">Home</a><br />-- <a href="/forum" title="Forum">Forum</a><br />-- <a href="/photos" title="Gallery">Gallery</a><br />-- <a href="/articles" title="Articles">Articles</a><br />-- <a href="/forum/sendmessage.php" title="Contact Us">Contact Us</a></p></td></tr></table></td>
</tr>
</table>



All times are GMT. The time now is 03:53 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.02021 seconds
  • Memory Usage 1,720KB
  • 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)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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