vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Why are my tables doing this? (https://vborg.vbsupport.ru/showthread.php?t=85948)

incarnus 01-08-2003 09:09 PM

Why are my tables doing this?
 
1 Attachment(s)
For some reason, all the tables on my site are adding a few pixels at the bottom that are just getting fillled with a solid color (see the attached picture). Is there a way to stop this? Normally I woulden't care, but I'm trying to fill the cell with a background and it looks really nasty.

Is there a way to get rid of this?

Thanks!

Cypher720 01-08-2003 09:15 PM

try lowering cellpadding/cellspacing...?

Rufus69 01-08-2003 09:43 PM

post your code?

incarnus 01-10-2003 09:38 PM

1 Attachment(s)
Cell spacing and padding are both zero.

Here's code:

(attachment)

filburt1 01-10-2003 10:02 PM

Remove all unnecessary whitespace within the <td> tags, including newlines.

incarnus 01-11-2003 01:53 AM

Ok, I tried that and it still seems to be doing it. I attached the current header without white space to my previous post.

Did I miss something?

Thanks for helping me with this!

filburt1 01-11-2003 02:09 AM

There's still some whitespace:
Code:

...border="0">  <a href="index.php...
You have to remove all of it. What's happening is that a space character at the normal browser font is higher than the images' heights, so the table is being scaled in favor of the spaces.

incarnus 01-11-2003 02:54 AM

Hey, it worked! Thanks so much!

I guess next time I'll have to double-check myself before I come crying back here!

Thanks again!

filburt1 01-11-2003 03:01 AM

Glad to help. It's a common mistake with HTML tables, hence why HTML is such a horrible language for page design nowadays :)


All times are GMT. The time now is 09:10 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.01634 seconds
  • Memory Usage 1,716KB
  • 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
  • (9)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