Text Height Issue!

Discussion in 'CSS' started by ajan246, May 17, 2008.

  1. #1
    OK, i need to raise the logo H1 text about 20-30px and I'm new to this CSS stuff and i Cannot figure it out! Heres what i got:

    /* Logo */


    #logo h1, #logo h2 {
    margin: 0;
    padding: 0;
    text-transform: lowercase;
    }

    #logo h1 {

    padding: 10px 5px 0 40px;
    font-size: 48px;
    color: #000000;
    }


    again... trying to raise the logo H1 text.

    Let me know if you need any more information!
    Thanks in advance!
    -ajan246
     
    ajan246, May 17, 2008 IP
  2. wd_2k6

    wd_2k6 Peon

    Messages:
    1,740
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Well currently you have it set to appear 10px from the Top.

    padding: 10px 5px 0 40px; < This means 10px from the top, 5px from the right, 0 from the bottom and 40px from the right.

    Changing the 10px to 0, would mean that it had no gap from the top at all. Therefore any extra gap you are seeing above this is cause by other elements previously.( possibly #logo )
     
    wd_2k6, May 17, 2008 IP