Groups | Blog | Home
all groups > macromedia flash sitedesign > october 2004 >

macromedia flash sitedesign : Fit to page backgrounbd but fixed size foreground


Nicolaj Tidemand
10/26/2004 9:52:00 PM
Hi

How do I make a web page that has a "fit to page" background, but a smaller
"fixed size" foregorund in with the whole content of the webpage is
displayed. Just like this page: http://www.btraxx.de/ (... which is one of
the best pages I have ever seen!)

Thanx
Nic in Norway

derobinson
10/29/2004 3:41:01 PM
hey Nic-- This site just uses a background color in the HTML code with a Flash
movie centered in the window. If you're interested in a "fit to
page" background image, check out this site: http://pnca.edu/ and take a
look at their style sheet. You could do that same sort of thing with a Flash
movie on top as well. Hope that helps! /david
Nicolaj Tidemand
10/31/2004 5:27:21 PM
Thanx ... this is just what I am lookoing for, just that I want my falsh
page to be in the middle of the page and a html-graphic in the background.

Do you know which of the html code and css code I need?

Thanx
Nic

[quoted text, click to view]

Nicolaj Tidemand
10/31/2004 8:02:20 PM
I almost got it to work, the css resize code is:
#resizingImage {
width:100%;
height:100%;
top:0px;
left:0px;
position:relative;
z-index:-1;
}

BUT my swf file wont be on top on the screen (I guess it is behind the
resize-image) when I am using this code to get the swf-file on the page:
<embed src="ruterknekt.swf" width="550" height="400"
style="position:absolute; z-index:2>

Any idea how to get the swf on top of the background image?

Nic


[quoted text, click to view]

AddThis Social Bookmark Button