Why do headers do this?

Discussion in 'HTML & Website Design' started by neha2011, Apr 15, 2011.

  1. #1
    Before I start I know I have to come up to speed with HTML5. I know there is an answer to this problem and that's why I am h ere.

    Why is it that when I use any header tags <h4></h4> it does not allow the header to valign="top" to the top of the table. And why does it push the plain text so much further down?

    Thanks :)
     
    neha2011, Apr 15, 2011 IP
  2. Cash Nebula

    Cash Nebula Peon

    Messages:
    1,197
    Likes Received:
    67
    Best Answers:
    0
    Trophy Points:
    0
    #2
    There may be too much padding or margin, or the line height may be too large.
    This is why tools like Firebug are great. You can easily see what is causing the problem.
    If you show us the code, we can tell you how to fix it.
     
    Cash Nebula, Apr 16, 2011 IP
  3. evaadams

    evaadams Peon

    Messages:
    94
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Can you post a snapshot of your page and code? We can get an idea regarding your desired output.
     
    evaadams, Apr 17, 2011 IP
  4. maame

    maame Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Please show us the code so we can tell what exactly is causing the problem. It's kind of hard to know whats going on without seeing it. Also, you may try using firebug as Cash Nebula suggested. It's a neat little plugin that can help you a great deal.
     
    maame, Apr 17, 2011 IP