The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS layering <div> tags

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #23111

    I’m trying to make a layered effect on a simple splash page. The page has basically 3 components, a large <div> containing a swf file, a footer, and a button sticking out of the footer that I want to link to another page.

    I have placed the button <div> first in my HTML, absolutely positioned it to the bottom right corner where I want it, and have given it an incredibly high Z-index. The effect works for the most part, but the button is extremely unstable. Once the flash animation gets to where the button is, it covers it until you move up or down with the vertical scroll bar.

    Does anyone know how to make an effect like this more stable? Any other techniques I could use to create this effect?

    Example code is below.



    body {
    background-color: #FFFFFF;
    font-family: Arial, Helvetica, sans-serif;
    color: #CCCCCC;
    font-size: 62.5%;
    margin: 0;
    padding: 0;

    #button {
    width: 82px;
    height: 109px;
    position: absolute;
    left: 688px;
    top: 541px;

    #flash {
    height: 600px;
    margin: 0 auto;
    z-index: 0;

    #footer-container {
    width: 100%;
    height: 5.5em;


    #footer {
    font-size: 1.2em;
    margin-left: 3em;

    #footer p {
    line-height: .5em;
    text-align: left;


    Found it. It’s actually quite simple when you use SWFobject to insert Flash. Link below for the answer. … index.html

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.