Forums

How to center my flash header (2 posts)

  1. rockinska
    Member
    Posted 2 years ago #

    So this is my problem. I'm using the Kimili flash plugin and have a flash header.I managed to edit the css where the header is adjusted to where I want it verticaly but now I want to center the thing in the middle of the page. This is what I have right now:

    #header {
    width: 1263px;
    height: 288px;
    margin-top:-5px;
    margin-left: auto;
    margin-right:auto;
    z-index:1 !important;
    position: absolute;
    }

    #flash_header {
    height:169px;
    margin: 0px;
    padding:0px;
    z-index:0 !important;
    }

  2. Jordan Acosta
    Member
    Posted 2 years ago #

    It looks like you're problem is in the #flash_header section. Instead of margin: 0px; try margin: auto;. The actual flash object itself needs to be centered within it's containing block.

    Hope that helps.

Topic Closed

This topic has been closed to new replies.

About this Topic