vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Table not displaying (https://vborg.vbsupport.ru/showthread.php?t=178652)

K4GAP 05-09-2008 01:20 PM

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....

http://www.tntspecops.com/images/example.jpg


Can anyone tell me why it's not displaying correctly?

Lynne 05-09-2008 02:23 PM

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.

K4GAP 05-09-2008 03:55 PM

Quote:

Originally Posted by Lynne (Post 1513806)
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?

Lynne 05-09-2008 08:01 PM

Quote:

Originally Posted by GaryT (Post 1513900)
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.

K4GAP 05-09-2008 09:19 PM

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?

Lynne 05-09-2008 09:36 PM

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">

K4GAP 05-10-2008 08:13 PM

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


All times are GMT. The time now is 05:55 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.00965 seconds
  • Memory Usage 1,726KB
  • 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
  • (4)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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