Forums

[resolved] Help with slightly off Header (4 posts)

  1. dave925
    Member
    Posted 5 years ago #

    I was able to add a custom photo header, however I can't figure out why the image is slightly pushed to the left. It's not caused by the title text, as the image is off even when I center the text.

    Also, if you happen to know the style sheet code to move the title text to the upper left of the image, it'd be appreciated.

    http://www.gobackpacking.com/Blog/

  2. dave925
    Member
    Posted 5 years ago #

    Bump!

  3. dave925
    Member
    Posted 5 years ago #

    In the css file, I fixed the bg color of the extra shadow of the original header to match the grey background, and it worked. I then adjusted the margins to 0 to get it to line up. Pretty good for my second day!

    #header {
    background-color: #e7e7e7;
    margin: 0 0 0 0px;
    padding: 0;
    height: 192px;
    width: 760px;

    I'm still not sure how to align the title text in the upper left corner though.

  4. vkaryl
    Member
    Posted 5 years ago #

    Try adding float:left; and text-align:left; to whatever element the title stuff resides in.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags