Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-09-2008, 01:20 PM
K4GAP K4GAP is offline
 
Join Date: Mar 2008
Posts: 1,255
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Table not displaying

I'm adding a module to my site that is made up of a table... code below...

<table
style="width: 98%; text-align: left; margin-left: auto; margin-right: auto;"
border="0" cellpadding="5" cellspacing="5">
<tbody>
<tr>
<td style="text-align: left; vertical-align: top;">text</td>
<td style="text-align: center; width: 5%;"><img
src="http://www.tntspecops.com/images/usethis.jpg" border="0"></td>
<td style="vertical-align: top;">text</td>
</tr>
</tbody>
</table>

After creating the module this is what is shown on the site....




Can anyone tell me why it's not displaying correctly?
Reply With Quote
  #2  
Old 05-09-2008, 02:23 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It looks to me like you have a line break after you start the table. You can't do that. Your table tag all has to be on one line.
Reply With Quote
  #3  
Old 05-09-2008, 03:55 PM
K4GAP K4GAP is offline
 
Join Date: Mar 2008
Posts: 1,255
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
It looks to me like you have a line break after you start the table. You can't do that. Your table tag all has to be on one line.

It's obvious there is no line break. The code was generated by Dreamweaver 8 and pasted directly into code area. There may be the appearance of a line break in what was generated by vb after I clicked finish but, the input code has no line break.

Is there anyone here with coding experience that can guide me on this as I am new to vb?
Reply With Quote
  #4  
Old 05-09-2008, 08:01 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GaryT View Post
It's obvious there is no line break. The code was generated by Dreamweaver 8 and pasted directly into code area. There may be the appearance of a line break in what was generated by vb after I clicked finish but, the input code has no line break.

Is there anyone here with coding experience that can guide me on this as I am new to vb?
Well, it may be obvious to *you* that there is no line break, but you posted the code with a line break above. If I hit Quote for your text, there IS A LINE BREAK. Now, maybe you put it there intentionally, but if you are asking for help with code, you should copy/paste *exacly* what you are using. Just like there is a space in the middle of your image tag. You would see these clearly if you used the <html> tags when posting here. But, what do I know.
Reply With Quote
  #5  
Old 05-09-2008, 09:19 PM
K4GAP K4GAP is offline
 
Join Date: Mar 2008
Posts: 1,255
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Lynne I really didn't mean to imply anything. I copied the code exactly as it was produced by Dreamweaver and pasted it both in the module and here to show the exact code used. Specifically where is the line break you speak of?
Reply With Quote
  #6  
Old 05-09-2008, 09:36 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is a line break right after
HTML Code:
<table
and before
HTML Code:
 style="width: 98%; text-align: left; margin-left: auto; margin-right: auto;"
and another right after
HTML Code:
<img
and before
HTML Code:
 src="http://www.tntspecops.com/images/usethis.jpg" border="0">
Reply With Quote
  #7  
Old 05-10-2008, 08:13 PM
K4GAP K4GAP is offline
 
Join Date: Mar 2008
Posts: 1,255
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Lynne you were exactly right. Now I have to figure out why I paid all this money for Dreamweaver and it puts out crappy code. Well actually I didn't pay for it but thats besides the point

Thanks for putting up with me sorry about any misunderstanding. I'm really a nice guy. Now if I could just convince my wife of that I'd be doing pretty good

Again, thanks'
Gary
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:33 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09247 seconds
  • Memory Usage 2,226KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_html
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete