Jump to content

Absolute positioned Flash


Guest Andrew Vandever
 Share

Recommended Posts

Guest Andrew Vandever

Preface: I'm hoping this is easily answered; please go easy on me as I am a newb at CSS. I hope I'm not infringing on anti-advertising by posting page url: http://www.aiminternational.org/home.phpI am trying to position a small flash movie at the right edge of a text div without messing up the text centering. I tried

.newsflash {	position: absolute	left: 544	top: 544}

in div to the right of the text div. It didn't really move anything, and the java menu at the top of the page sits falls behind the flash when it drops down.I also tried adapting the following format I got from http://www.webmasterworld.com/forum83/7585.htm:

#flashholdingdiv{position: absolute;left: 50%;margin-left: -350px;width: 700px;}

I tried placing the flash at the bottom of the page, and using this piece, but I'm not sure I could adequately describe the mess that caused. I quickly scrapped that bit of code, and came here.I'll take suggestions on where to find a solution, straight-up solutions, or people yelling at me for even asking :)

Link to comment
Share on other sites

.newsflash {	position: absolute	left: 544	top: 544}

Well, the first think I would look at is the way you have your CSS written...you might want to try writing it like this, otherwise browsers might not read the CSS at all:
.newsflash {position: absolute;left: 544px;top: 544px;}

You may also want to try enclosing your flash elements inside of a div tag, this may also make thing easier and i've found that it eases a few other problems as well.Good luck!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...