CSS Q

Out of context: Reply #1

  • Started
  • Last post
  • 7 Responses
  • myobie0

    ok, this will work and should be fairly easy

    x = the width of your flash movie
    y = the width of *one* of your png borders

    i am assuming both of your png's are the same width

    souround the flash movie with two divs, give the outer most one id="wrapper" and the inner one id="wrapper2"

    in css:

    #wrapper {
    padding-left: y;
    background: url(your_left_bg.png);
    }
    #wrapper2 {
    padding-right: y;
    background: url(your_right_bg.png);
    }

    make sure there is no other padding or margin

    i would never do it this way, but it's the easiest way to get the images out of the way and into the bg of a div (which is preferable)...

    you are still going to have to work out the positiong of the bg

    either lookup the css attribute or download CSSEdit if you have a mac

    hope that helps some

View thread