vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   HTML Table Problem.. (https://vborg.vbsupport.ru/showthread.php?t=46120)

Neo 11-26-2002 05:18 AM

HTML Table Problem..
 
1 Attachment(s)
Alright.. I cannot seem to understand why this wont work. Here is the table code I am using and the error as you will see it.

Thanks for your time
Neo.

Code:

    <table width="100%" height="12%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td valign="bottom">
          <img src="bg.gif" height="15" width="100%">
        </td>
      </tr>
      <tr bgcolor="#777777">
        <td>
        </td>
      </tr>
    </table>

and the image...

Erwin 11-26-2002 07:00 AM

One of the rules of good HTML coding is that you should not have an empty table cell - it will give you a HTML error - that table will not show up in Netscape at all probably. :)

Try to add a & nbsp; (remove the space between & and nbsp; ) in the empty cell, or a transparent gif.

Try this:

Code:

    <table width="100%" height="12%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td valign="bottom">
          <img src="bg.gif" height="15" width="100%">
        </td>
      </tr>
      <tr bgcolor="#777777">
        <td>
        & nbsp;
        </td>
      </tr>
    </table>

Remove the space between & and nbsp; (stupid vB.org parses it so it disappears as a space).

Neo 11-26-2002 06:16 PM

THis is a side file I am using so its not attached to VB.. and the &nbsp; hasnt worked. I use to have a logo in the table but it looked the same.. :|

Dean C 11-27-2002 05:37 PM

+ im pretty sure u can't have a bgcolor in the <tr> tag :)

Dont quote me on it

- miSt

NTLDR 11-27-2002 06:01 PM

You can have bgcolor in a <tr> but it was deprecated in HTML 4.01 and is not supported in XHTML 1.0 Strict.


All times are GMT. The time now is 08:15 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.01019 seconds
  • Memory Usage 1,715KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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