Table cell padding & spacing problem

Go down

Solved Table cell padding & spacing problem

Post by DustyBones on May 7th 2010, 4:15 pm

I'm trying to do a table on my forum. When I use the table button, the table is crammed together. I tried to find info on the internet about cell spacing and padding for bbcode but can't find anything. So I assume that you can't use cell padding & spacing in bbcode. I used this code for html:

Code:
<table border="1" bordercolor="#FFCC00" style="background-color:FFF0E3" width="400"  cell padding="3" cellspacing="3">
   <tr>
      <td>Table Cell</td>
      <td>Table Cell</td>
      <td>Table Cell</td>
      <td>Table Cell</td>
   </tr>
   <tr>
      <td>Table Cell</td>
      <td>Table Cell</td>
      <td>Table Cell</td>
      <td>Table Cell</td>
   </tr>
</table>

But end up with a large space on top of the table. the more rows I had the larger the space.
example:
Table cell padding & spacing problem 5-7-20106-51-46AM

I remove everything but the basic table tags and it still has a large space. Is it a glitch with using html? Or is there another way to do it?

Code:

<table>
                <td>Table Cell</td>
      <td>Table Cell</td>
      <td>Table Cell</td>
      <td>Table Cell</td>
   </tr>
   <tr>
      <td>Table Cell</td>
      <td>Table Cell</td>
      <td>Table Cell</td>
      <td>Table Cell</td>
   </tr>
</table>

Im using phpbb3
Firefox
My forum link


Last edited by DustyBones on May 8th 2010, 10:24 am; edited 1 time in total
DustyBones
DustyBones
Active Poster

Male Posts : 1234
Reputation : 528
Language : English
Location : Washington, USA

http://raps-graphics.forumotion.com/

Back to top Go down

Solved Re: Table cell padding & spacing problem

Post by Sanket on May 8th 2010, 5:50 am

Add the code then hit the a/A button then delete the spaces up above. See if it works.
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2829
Language : English
Location : Mumbai

Back to top Go down

Solved Re: Table cell padding & spacing problem

Post by DustyBones on May 8th 2010, 10:23 am

@Sanket wrote:Add the code then hit the a/A button then delete the spaces up above. See if it works.

Yep! That did it..
Thank you very much thumleft
Solved
DustyBones
DustyBones
Active Poster

Male Posts : 1234
Reputation : 528
Language : English
Location : Washington, USA

http://raps-graphics.forumotion.com/

Back to top Go down

Solved Re: Table cell padding & spacing problem

Post by Sanket on May 8th 2010, 10:57 am

Since this thread is marked solved, I will lock this thread.
Table cell padding & spacing problem 2j4t5a8

Sanket Smile
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2829
Language : English
Location : Mumbai

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum