The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Creating a Table with HTML: blank space problem
I have been experimenting with the use of tables in vBulletin and feel that the format, when coverted to BBCode, will be of great value in displaying various information. Unfortunately when I create a table and inexplicable white space is always displayed above the table, and appears that the larger the table the larger the white space. Does anyone know of a solution to this issue? I have include the basic table coding for reference.
Code:
<table border=1 cellpadding=5 width=100%> <tr> <th>Column 1</th> <th>Column 2</th> <th>Column 3</th> </tr> <tr> <td>Item 1</td> <td>Item 2</td> <td>Item 3</td> </tr> <tr> <td>Item A</td> <td>Item B</td> <td>Item C</td> </tr> </table> |
#2
|
||||
|
||||
Could you post a screen shot of what the white space looks like?
|
#3
|
|||
|
|||
Quote:
There it is, I've attached a quick screenshot. I've upped the columns to 5 in the attached example, because it appears that the space gets longer the larger the table is. It appeats that the non-coded space is being displayed before the table for some reason. Code:
<table border=1 cellpadding=5 width=100%> <tr> <th>Column 1</th> <th>Column 2</th> <th>Column 3</th> <th>Column 4</th> <th>Column 5</th> </tr> <tr> <td>Item 1</td> <td>Item 2</td> <td>Item 3</td> <td>Item 4</td> <td>Item 5</td> </tr> <tr> <td>Item A</td> <td>Item B</td> <td>Item C</td> <td>Item D</td> <td>Item E</td> </tr> </table> |
#4
|
||||
|
||||
Check the page source of the post and see what is going on with the html in there.
|
#5
|
||||
|
||||
This may seem trivial, but have you tried putting the quotation marks in the table tag where they should be?
|
#6
|
|||
|
|||
Quote:
Now, with some tinkering I have been able to confirm that for some unknown reason the what is displaying is all non-coded blank spaces before the table, so using the code as: Code:
<table border=1 cellpadding=5 width=100%><tr><th>Column 1</th><th>Column 2</th><th>Column 3</th><th>Column 4</th><th>Column 5</th></tr><tr><td>Item 1</td><td>Item 2</td><td>Item 3</td><td>Item 4</td><td>Item 5</td></tr><tr><td>Item A</td><td>Item B</td><td>Item C</td><td>Item D</td><td>Item E</td></tr></table> |
#7
|
||||
|
||||
Quote:
--------------- Added [DATE]1253302743[/DATE] at [TIME]1253302743[/TIME] --------------- Quote:
|
#8
|
|||
|
|||
Quote:
As for any "validator", I could try that but this is the only place such a problem occurs. |
#9
|
||||
|
||||
Quote:
There are a number of modifications here on the site that attempt BBCode Tables in various ways. You might want to take a look at them, if at the very least just to get some ideas. |
#10
|
|||
|
|||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|