3 Replies - 1480 Views - Last Post: 12 December 2012 - 11:21 AM

#1 skymonkier  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 107
  • Joined: 14-July 12

How to stop tables from 'auto-padding'?

Posted 12 December 2012 - 09:27 AM

Yesterday, I became a first time user of tables in my HTML, since I'm working on building my own forum system. Everything has worked flawlessly so far, except when I get to the replies to topics. I have two <td>'s, one for the user who wrote the reply, and the other for the user's message.

The problem comes in when you have a lot of text in one, and not much in the other; meaning the small block of text and stuff in the user's <td> gets moved down to the center of the <td> as if it were being padded, and the same goes for the reply text.

Screenshot of what's happening:

Posted Image

So how do I stop it from 'auto-padding'?

This post has been edited by skymonkier: 12 December 2012 - 09:27 AM


Is This A Good Question/Topic? 0
  • +

Replies To: How to stop tables from 'auto-padding'?

#2 BenignDesign  Icon User is offline

  • holy shitin shishkebobs
  • member icon




Reputation: 6018
  • View blog
  • Posts: 10,444
  • Joined: 28-September 07

Re: How to stop tables from 'auto-padding'?

Posted 12 December 2012 - 09:39 AM

<td style='vertical-align:top;'>


Was This Post Helpful? 2
  • +
  • -

#3 skymonkier  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 107
  • Joined: 14-July 12

Re: How to stop tables from 'auto-padding'?

Posted 12 December 2012 - 10:43 AM

View PostBenignDesign, on 12 December 2012 - 09:39 AM, said:

<td style='vertical-align:top;'>



Who knew there was such a CSS tool?! I learned something new. :bananaman:
Was This Post Helpful? 1
  • +
  • -

#4 BenignDesign  Icon User is offline

  • holy shitin shishkebobs
  • member icon




Reputation: 6018
  • View blog
  • Posts: 10,444
  • Joined: 28-September 07

Re: How to stop tables from 'auto-padding'?

Posted 12 December 2012 - 11:21 AM

And THAT is why we're here. :)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1