• dpearson

    (@dpearson)


    I cant seem to figure out how to shrink the top margin. On the stylesheet it looks like all the margins are set to 0, but there is still a big gap. I am not a coder by any means so Im probably just missing something easy. Any ideas?
    My music journal- recent photos of greenday, social distortion and cake ??
    https://www.derekpearson2.com/updates

Viewing 7 replies - 1 through 7 (of 7 total)
  • I assume it’s your header that’s dropping the content down as I see no header image.

    Thread Starter dpearson

    (@dpearson)

    thanks! I will try and fgure out how to just delete the header since Im not using one.

    It’s just the one line of code in index.php

    Thread Starter dpearson

    (@dpearson)

    I saw that, but it says to not remove that line. I tried it anyway and the page gave me error line 3 ?

    Beel

    (@beel)

    Yes, that is the culprit. You don’t have to delete it. You could have #header {margin:-20px 0 -20px 0} (or some other amount) in your css.

    Thread Starter dpearson

    (@dpearson)

    hmm-I found that one, deleted it and got the same error.
    Beel- Do I type that in somewhere in the css or add it to something existing? Does it matter what order I add it if its existing?
    Thanks for your help people!

    Thread Starter dpearson

    (@dpearson)

    Thanks Beel, what I mean to say is that I deleted it and then got a fatal error page, so I put it back in.
    I put the code you suggested in the css and it worked grand.
    thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘top margin?’ is closed to new replies.