Table command creating blank space above table??? Help
crash629 - September 14, 2006 - 23:47
If i use the table command in the body of a new page it drops my table down about 3-4 inches on the screen but if i enter any other code into the body of a page it starts right at the top. Can anyone help?
Frank

Any Ideas?
Any Ideas?
Please Help Me?
Please can someone help me?
White spaces in HTML produce extra <BR>s before table
Hi, Crash
I had the same problem - sometimes Drupal adds extra spaces (HTML
tags) before tag without any reason.
Visually it looks like inch or two of white space, HTML code shows something like
<BR/><BR/><BR/><BR/><BR/><TABLE>It took me for a while to realize that extra spaces in the HTML cause this problem. Compare
<TABLE width="100%" valign="top" >vs.<table width="100%" valign="top">Pay attention on the extra space after closing TABLE tag. What you should do is to clean all the white spaces, just like in the second example and white space will disappear.
Hope it helps,
Jacob
P.S. Now it's clear how to fix the problem, but anyone knows what is the reason?
I've been hunting regards to
I've been hunting regards to similar behavior with tables on sites that I manage, and I found that even the HTML (source) looked fine, but still rendered with huge amounts of whitespace.
By consolidating the whole article into one line (no additional carrier returns) and using 'full html' input format, i've managed to work around it.
But I agree, this is an oddball considering that the software generally does pretty well at handling HTML code, and Tables are quite useful - esp for those of us who don't know CSS or other more advanced means of coding same!
Extra spaces due to upper case table tags
Thanks to all who posted about this. Changing my table tags to lowercase eliminated to problem of the white space!
Strange Spaces
Servus, Frank.
Guess you should look into the source code of your page as seen in the browser. I had something alike (without tables, however) where some part of the content "dropped down" by no obvious reason. I have done quite heavy theming on this project, so the following may or may not apply to you.
I had various images attached to nodes, and one image per node was sent to the left sidebar region. Looking into the source code for the browser I found a div "node" which gets generated by node.tpl.php. Checking for any attributes for that class I found
modules/image/contrib/image_attach.css (I hope I got the path right) and there is a definition for a class node which contains only a clear: both statement. Hu?
Well, I commented that out and voila, my stuff was back in order.
Can't tell it'll be the same for you, but checking all the CSS classes around the problem should help...
Norbert
-- form follows function
Table command leaving blank spaces!!! Need Help!!!
I've tried looking at and changing the CSS around the table command in style.css of my theme and in drupal.css but not sure what to put. I've tried things like border:0; border:none; and nothing worked. I'm sure others have had to of had this problem and any help would be really appreciated.
Frank
It may be basic...
Servus, Frank.
It's always tough to make recommendations not knowing about the situation... However: have you set the background-color of the various CSS blocks "above" and to the left of your table (plus the table itself)? If there's some misbehaving block it's the fastest way to find out...
Norbert
-- form follows function
Fix
I was able to fix this issue by going into the input formats in admin, then apply full html to the role that is editing the node with the table.
Once you get to admin/settings/filters/, click configure on the full html input.
Make sure you uncheck, "Line break converter". This is what was causing the space above the table for me.
Let me know if this works out.
Try correcting the tag capitalization and order
I had the same very vexing problem. I pasted in an HTML table from another source and it added several lines of white space above the table. I created another table from scratch, so I ruled out the table tags as the problem. I then noticed that several of the tags were upper case (e.g.
<TD>rather than<td>). I changed all the tags so that they were lower case, and broke a new line for each table tag e.g.<tr><td>
</td>
</tr>
</table>
This solved my problems. I can only assume that somehow the mixed capitalization and cramming together of the tags on the same line was responsible for the problem.
Tag capitalization
This solution solved the problem for me. Like many others, I had copied code from somewhere else and pasted it into our website, and I was having similar white space problems. The tags were all upper case. On converting to lower case, the extra whitespace disappeared. I didn't need to separate the tags into multiple lines as you did, though.
Interestingly enough, the amount of whitespace varied with the number of rows in the table (and therefore with the number of uppercase tags). Three rows produced only a little white space; the required fifty rows left a huge gap.
Thanks for this help - it solved my problem.
___________________
Nigel Blumenthal
Toronto
Excess White Space above tables.
I too was perplexed by the same problem, and was glad to find a seeming fix. I had installed OpenWYSIWYG and after pasting code from Composer and saving, it changed the tags from lower to upper case, creating all the leading space. Needless to say, I'll have to find another WYSIWYG editor now - apparently the third time is not the charm I'd hoped. FCK would not install correctly, while NicEdit left a tiny , narrow window for entry.