Results 1 to 4 of 4

Thread: Some assistance with tables layout in an email breaking whole email code enclosed

  1. #1
    Join Date
    Sep 2006
    Wixom, MI

    Some assistance with tables layout in an email breaking whole email code enclosed

    Heres what I am trying to do, I have a php script that creates a piece of html (enclosed) that is entered into a database for phplist a mailinglist.

    This forms the html message that the list sends out, now within this html message there is a table containing 7 rows of 3 columns and for some reason the final cell (bottom right) is messed up and it in turn messes up everything that comes after it in the code of the rest of the email, so some text doesnt display right and some of the border to the right and bottom doesnt display either.

    I tested this using a table with only 3 across and 1 down an 3 by 6 and 3 by 7 and the couple of tests I did with each seemed to work for all the ones that had less than 18 total cells, but as soon as I got to 18 total table cells one test worked and one didnt, then when i tried 21 total cells (3 by 7) that didnt work either in any test, and then when i tried 24 cells it looked exactly like the 21 cell test, so the last row of the table was removed completely for some reason.

    Code available to check here code with issues.txt and I checked it in Windows Live Mail on Windows 7 machine for my email program.

    I do not see anything obvious in the code causing it and why different number of rows causes different results? when each row is dynamically generated via php using the same code so only difference between each row is the content in the cell, just text and an image.
    OriginalFundRaisingWidget - Free "Non Commercial" PayPal FundRaising Widget, for Charities, Organizations and Individuals, Hosted Free. Check It Out

  2. #2
    Join Date
    Sep 2006
    Wixom, MI
    Just to add, the actual thing should have a red border all around the edge, some logos to the left and a table 3 by 7 to the right each cell contains another table containing a title photo description and a more link, it is the red border around the right and bottom that breaks as well as the bottom right table cell and all the text that appears after it that is messed up or not displaying at all.

    Works fine when viewing within the mailinglist script phplist admin area, looks ok in dreamweaver too and not seeing any errors of unclosed tags or things nested wrong, but in email it looks messed up.
    OriginalFundRaisingWidget - Free "Non Commercial" PayPal FundRaising Widget, for Charities, Organizations and Individuals, Hosted Free. Check It Out

  3. #3
    Join Date
    Oct 2012
    Is there such a thing as "tbody" ?
    I have never used it.

    I suggest you validate the page, the validator will sort out any tag issues, that is where I would start with such a large table.

    Last edited by drunken_dev; 11-22-2012 at 11:58 PM.

  4. #4
    Join Date
    Oct 2012
    Quote Originally Posted by annieferris View Post
    This Thread is truly awesome in all aspects.
    Gday mate

    Not quite sure what I have done to you but I don't really care.

    You follow every post I make with a silly comment, maybe you are in fact lacking in any skill or feeling threatened by the presence of someone with a different opinion to yours.

    Either way I am sure your webmaster skills are of a novice level and you need to resort to spamming for your own compensation.

    Good luck with that.



Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center



X vBulletin 4.2.2 Debug Information

  • Page Generation 0.08815 seconds
  • Memory Usage 2,874KB
  • Queries Executed 16 (?)
More Information
Template Usage (33):
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_global_above_footer
  • (1)ad_global_below_navbar
  • (1)ad_global_header1
  • (1)ad_global_header2
  • (1)ad_navbar_below
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)ad_thread_first_post_content
  • (1)ad_thread_last_post_content
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)headinclude_bottom
  • (4)memberaction_dropdown
  • (1)navbar
  • (4)navbar_link
  • (1)navbar_moderation
  • (1)navbar_noticebit
  • (1)navbar_tabs
  • (2)option
  • (4)postbit
  • (4)postbit_onlinestatus
  • (4)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available (6):
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files (26):
  • ./showthread.php
  • ./global.php
  • ./includes/class_bootstrap.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/functions_navigation.php
  • ./includes/class_friendly_url.php
  • ./includes/class_hook.php
  • ./includes/class_bootstrap_framework.php
  • ./vb/vb.php
  • ./vb/phrase.php
  • ./includes/functions_facebook.php
  • ./includes/functions_calendar.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_notice.php
  • ./packages/vbattach/attach.php
  • ./vb/types.php
  • ./vb/cache.php
  • ./vb/cache/db.php
  • ./vb/cache/observer/db.php
  • ./vb/cache/observer.php 

Hooks Called (74):
  • init_startup
  • friendlyurl_resolve_class
  • init_startup_session_setup_start
  • database_pre_fetch_array
  • database_post_fetch_array
  • init_startup_session_setup_complete
  • global_bootstrap_init_start
  • global_bootstrap_init_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • load_show_variables
  • load_forum_show_variables
  • global_state_check
  • global_bootstrap_complete
  • global_start
  • style_fetch
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • strip_bbcode
  • friendlyurl_clean_fragment
  • friendlyurl_geturl
  • forumjump
  • cache_templates
  • cache_templates_process
  • template_register_var
  • template_render_output
  • fetch_template_start
  • fetch_template_complete
  • parse_templates
  • fetch_musername
  • notices_check_start
  • notices_noticebit
  • process_templates_complete
  • friendlyurl_redirect_canonical
  • showthread_post_start
  • showthread_query_postids
  • fetch_postattach_query
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • bbcode_parse_start
  • postbit_imicons
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • memberaction_dropdown
  • tag_fetchbit
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • build_navigation_data
  • build_navigation_array
  • check_navigation_permission
  • process_navigation_links_start
  • process_navigation_links_complete
  • set_navigation_menu_element
  • build_navigation_menudata
  • build_navigation_listdata
  • build_navigation_list
  • set_navigation_tab_main
  • set_navigation_tab_fallback
  • navigation_tab_complete
  • fb_like_button
  • showthread_complete
  • page_templates