/    Sign up×
Community /Pin to ProfileBookmark

header positioning below a background image

Hello all, I am trying to postion a header below a tiled background image. I have tried using margin top and padding but that just creates whitespace where the tiled bg is supposed to be. Is there a way that i can position the header below the body bg that will allow the background to show?

css:
#header {width: 780px;height: 120px; margin: 0px 0 0 0px; background-color:#fff;}

my background is 100px in height.

thanx
steve

to post a comment
CSS

3 Comments(s)

Copy linkTweet thisAlerts:
@MoridinOct 23.2006 — You could try positioning, but I really can't say the exact values without the actual code/link to website.

  • - [b]Moridin[/b]
  • Copy linkTweet thisAlerts:
    @tiki16authorOct 23.2006 — Hi Moridin,

    here is a link. You can see how the header is at the top of the page. I'd like it to sit below the top bg border.

    http://gs2websolutions.com/steve/cindys/index.htm

    cheers

    Steve
    Copy linkTweet thisAlerts:
    @_Aerospace_Eng_Oct 23.2006 — Add this to the body CSS
    padding:80px 0 0 0;
    margin:0;
    ×

    Success!

    Help @tiki16 spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 5.19,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @AriseFacilitySolutions09,
    tipped: article
    amount: 1000 SATS,

    tipper: @Yussuf4331,
    tipped: article
    amount: 1000 SATS,

    tipper: @darkwebsites540,
    tipped: article
    amount: 10 SATS,
    )...